poky/meta/classes/distutils3-base.bbclass
Richard Purdie 2c0511b2a1 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>
2021-02-17 11:01:17 +00:00

7 lines
289 B
Plaintext

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