]> code.ossystems Code Review - openembedded-core.git/commit
classes/populate_sdk_ext: add a better config extension mechanism
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Fri, 19 Feb 2016 09:41:58 +0000 (22:41 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 21 Feb 2016 09:32:01 +0000 (09:32 +0000)
commitb53edb86c65ad375df153017f245244ef97f3932
treec4997c346512937fde9c500add7b7f6f7e681043
parent2ddad52ccca07245eea43d9b844c6c7d4b667ca3
classes/populate_sdk_ext: add a better config extension mechanism

The sdk_extraconf() method of setting the configuration was awkward
since you needed to set it in a class and then inherit that class since
function definitions aren't allowed in conf files. It seemed to me the
a neater way to do this was to read the extra lines from an additional
conf file sdk-extra.conf (which can be located in a conf/ directory
anywhere along BBPATH as with other configuration files).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_ext.bbclass