On Tue, 2012-04-03 at 10:55 +1000, Tony Breeds wrote:
Currently we build all board files regardless of the final zImage
target. This is sub-optimal (in terms on compilation) and leads to
problems in one platform needlessly causing failures for other
platforms.
Use the Kconfig variables to selectively construct this board files to
build.
+ifeq ($(CONFIG_PPC_PS3),y)
+src-plat += ps3-head.S ps3-hvcall.S ps3.c
+endif
PS3 part looks good.
Acked-by: Geoff Levand <geoff@infradead.org>