[OE-core] [PATCH] Add KERNEL_EXTRA_ARGS parameter

Eric Bénard eric at eukrea.com
Thu May 3 14:23:04 UTC 2012


Le Thu,  3 May 2012 15:48:48 +0200,
Wolfgang Denk <wd at denx.de> a écrit :

> With recent kernel versions, some ARM configurations need may fail to
> build with errors like this:
> 
> 	multiple load addresses: 0x80008000 0x80008000
> 	This is incompatible with uImages
> 	Specify LOADADDR on the commandline to build an uImage
> 
> We cannot pass this information in EXTRA_OEMAKE, as
> "meta/classes/kernel.bbclass" explicitly ignores all EXTRA_OEMAKE
> settings.  So add KERNEL_EXTRA_ARGS parameter so affected boards
> can add for example
> 
> 	KERNEL_EXTRA_ARGS = "LOADADDR=0x80008000"
> 
> to their configuration.  We make this general enough so other needed
> command line options can be passed as well when compiling the kernel.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
Acked-by: Eric Bénard <eric at eukrea.com>

useful when multiple machines with different LOADADDR are built in the
same kernel.

Eric




More information about the Openembedded-core mailing list