When building target packages, it used to be enought to check for PN == BPN, however with the multilib configurations, this can lead to subtle errors. Change instances of PN == BPN, to ${CLASSOVERRIDE} == 'class-target'. (From OE-Core rev: acc988272b4e74a9ad1e6da5af5b2d208584197b) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
6 lines
210 B
Text
6 lines
210 B
Text
DEPENDS += "${@["python-native python", ""][(d.getVar('PACKAGES', True) == '')]}"
|
|
RDEPENDS_${PN} += "${@['', 'python-core']['${CLASSOVERRIDE}' == 'class-target']}"
|
|
|
|
inherit distutils-common-base pythonnative
|
|
|