powerpc/boot: Only build board support files when required.
authorTony Breeds <tony@bakeyournoodle.com>
Tue, 3 Apr 2012 15:00:39 +0000 (15:00 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Tue, 3 Jul 2012 04:14:37 +0000 (14:14 +1000)
commitb81f18e55e9f4ea81759bcb00fea295de679bbe8
treecca343938789e3950cb6020f30c1e9c0c09f3bed
parentca24a145573124732152daff105ba68cc9a2b545
powerpc/boot: Only build board support files when required.

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.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/Makefile