mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
distutils3-base: Fix after native packaging changes
Now that native recipes have PACKAGES, this DEPENDS construct doesn't work. It applies to target and nativesdk recipes so adjust accordingly. (From OE-Core rev: 5d459ba1c13c89b246a0f8d743027e1de93da910) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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']}"
|
RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
|
||||||
|
|
||||||
inherit distutils-common-base python3native python3targetconfig
|
inherit distutils-common-base python3native python3targetconfig
|
||||||
|
|||||||
Reference in New Issue
Block a user