i.MX consolidation patches
Arnd Bergmann
arnd at arndb.de
Wed Jun 22 11:10:39 EDT 2011
On Wednesday 22 June 2011, Sascha Hauer wrote:
> --- a/arch/arm/boot/Makefile
> +++ b/arch/arm/boot/Makefile
> @@ -59,6 +59,11 @@ $(obj)/zImage: $(obj)/compressed/vmlinux FORCE
>
> endif
>
> +ifneq ($(words $(ZRELADDR)), 1)
> +$(obj)/uImage: FORCE
> + @echo 'Multiple zreladdrs, cannot build uImage'
> + exit 1
> +else
Failing the build for a possible configuration is not nice, I would
be happier if this could be prevented in Kconfig. I have recently
worked on getting all 'randconfig' build working for a bunch of platforms
(patches will follow), so it would be a shame to have another
guaranteed failure built into the kernel.
Your patch is ok by itself, in order to detect the case when Kconfig
logic has failed, but we should also have a way to prevent enabling
uImage building in Kconfig for configurations that are known to
not work.
Arnd
More information about the linux-arm-kernel
mailing list