diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-16 11:34:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-17 11:01:17 +0000 |
commit | 2c0511b2a1dcb9e998528a92a4be0dbb8fe1c3e7 (patch) | |
tree | ea29822e6571df40c835da27f9cae0fbc801ab2e /meta/classes/distutils3-base.bbclass | |
parent | 9cd171b77b0766a9a908249b24c9a8f3c481bfef (diff) | |
download | poky-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.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/distutils3-base.bbclass b/meta/classes/distutils3-base.bbclass index a277d1c7bc..302ee8c82c 100644 --- a/meta/classes/distutils3-base.bbclass +++ b/meta/classes/distutils3-base.bbclass | |||
@@ -1,4 +1,5 @@ | |||
1 | DEPENDS += "${@["${PYTHON_PN}-native ${PYTHON_PN}", ""][(d.getVar('PACKAGES') == '')]}" | 1 | DEPENDS_append_class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" |
2 | DEPENDS_append_class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" | ||
2 | RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" | 3 | RDEPENDS_${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" |
3 | 4 | ||
4 | inherit distutils-common-base python3native python3targetconfig | 5 | inherit distutils-common-base python3native python3targetconfig |