[PATCH] powerpc/boot: Only build board support files when required.

Geoff Levand geoff at infradead.org
Thu Apr 5 13:44:17 EST 2012


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 at infradead.org>



More information about the Linuxppc-dev mailing list