populate_sdk_ext: Don't ignore SDK_TARGETS value
This fixes a problem where SDK_INSTALL_TARGETS wouldn't pick up the value in SDK_TARGETS. It also removes the inline python to make the code more readable. (From OE-Core rev: 5b7bc7ab44c2cc5d5f217d9ad81a210ea053dc85) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
8c0ba8d9af
commit
02201802a1
|
@ -32,7 +32,18 @@ SDK_INHERIT_BLACKLIST ?= "buildhistory icecc"
|
|||
SDK_UPDATE_URL ?= ""
|
||||
|
||||
SDK_TARGETS ?= "${PN}"
|
||||
SDK_INSTALL_TARGETS = "${@SDK_TARGETS if d.getVar('SDK_EXT_TYPE', True) != 'minimal' else ''} ${@'meta-world-pkgdata:do_allpackagedata' if d.getVar('SDK_INCLUDE_PKGDATA', True) == '1' else ''}"
|
||||
|
||||
def get_sdk_install_targets(d):
|
||||
sdk_install_targets = ''
|
||||
if d.getVar('SDK_EXT_TYPE', True) != 'minimal':
|
||||
sdk_install_targets = d.getVar('SDK_TARGETS', True)
|
||||
|
||||
if d.getVar('SDK_INCLUDE_PKGDATA', True) == '1':
|
||||
sdk_install_targets += ' meta-world-pkgdata:do_allpackagedata'
|
||||
|
||||
return sdk_install_targets
|
||||
|
||||
SDK_INSTALL_TARGETS = "${@get_sdk_install_targets(d)}"
|
||||
OE_INIT_ENV_SCRIPT ?= "oe-init-build-env"
|
||||
|
||||
# The files from COREBASE that you want preserved in the COREBASE copied
|
||||
|
|
Loading…
Reference in New Issue