Now that native recipes have PACKAGES, this DEPENDS construct doesn't work. It applies to target and nativesdk recipes so adjust accordingly.
Signed-off-by: Richard Purdie <[email protected]> --- meta/classes/distutils3-base.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass index a277d1c7bc6..302ee8c82c0 100644 --- a/meta/classes/distutils3-base.bbclass +++ b/meta/classes/distutils3-base.bbclass @@ -1,4 +1,5 @@ -DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES') == '')]}" +DEPENDS_append_class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" +DEPENDS_append_class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" inherit distutils-common-base python3native python3targetconfig -- 2.27.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#148169): https://lists.openembedded.org/g/openembedded-core/message/148169 Mute This Topic: https://lists.openembedded.org/mt/80675914/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
