summaryrefslogtreecommitdiffstats
path: root/meta/classes/distutils3-base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-16 11:34:23 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-17 11:01:17 (GMT)
commit2c0511b2a1dcb9e998528a92a4be0dbb8fe1c3e7 (patch)
treeea29822e6571df40c835da27f9cae0fbc801ab2e /meta/classes/distutils3-base.bbclass
parent9cd171b77b0766a9a908249b24c9a8f3c481bfef (diff)
downloadpoky-2c0511b2a1dcb9e998528a92a4be0dbb8fe1c3e7.tar.gz
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>
Diffstat (limited to 'meta/classes/distutils3-base.bbclass')
-rw-r--r--meta/classes/distutils3-base.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass
index a277d1c..302ee8c 100644
--- a/meta/classes/distutils3-base.bbclass
+++ b/meta/classes/distutils3-base.bbclass
@@ -1,4 +1,5 @@
1DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES') == '')]}" 1DEPENDS_append_class-target = " ${PYTHON_PN}-native ${PYTHON_PN}"
2DEPENDS_append_class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}"
2RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" 3RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}"
3 4
4inherit distutils-common-base python3native python3targetconfig 5inherit distutils-common-base python3native python3targetconfig