]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
Add KERNEL_EXTRA_ARGS parameter
authorWolfgang Denk <wd@denx.de>
Thu, 3 May 2012 13:48:48 +0000 (15:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Mar 2013 14:57:52 +0000 (14:57 +0000)
commit8264863ea0674f6cb105f5f7301861408fdc409b
tree02e19b8322da623014006f68a48c9c5218f93633
parent86d6ec51f0e1a4f5335d72928ef14ea1335d49b0
Add KERNEL_EXTRA_ARGS parameter

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.

(From OE-Core rev: e3cdd0aafb9081cd7f1f98490087c1157a3d7403)

Signed-off-by: Wolfgang Denk <wd@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel.bbclass