diff options
| author | Ross Burton <ross@burtonini.com> | 2022-03-11 15:05:30 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-12 09:20:03 +0000 |
| commit | b538705ed597d67b2a62c5985dbf59e7f71c0e63 (patch) | |
| tree | b2c7e80361789829dd8bf2c28ff75721417a39b8 | |
| parent | 7b68b6ff438b9b2aec12599d96f25eda5954b935 (diff) | |
| download | poky-b538705ed597d67b2a62c5985dbf59e7f71c0e63.tar.gz | |
setuptools3-base: improve RDEPENDS assignment
Use :append instead of += so that recipes can assign to RDEPENDS:${PN}.
This fixes missing RDEPENDS for sixteen recipes in oe-core alone.
Also instead of using obscure inline Python we can just use the
class-target override.
(From OE-Core rev: c4ecd63593df2ffd5c1b7ae1c50652ca57ebe219)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/setuptools3-base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/setuptools3-base.bbclass b/meta/classes/setuptools3-base.bbclass index 5098ae9d64..15abe1dd63 100644 --- a/meta/classes/setuptools3-base.bbclass +++ b/meta/classes/setuptools3-base.bbclass | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" | 1 | DEPENDS:append:class-target = " ${PYTHON_PN}-native ${PYTHON_PN}" |
| 2 | DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" | 2 | DEPENDS:append:class-nativesdk = " ${PYTHON_PN}-native ${PYTHON_PN}" |
| 3 | RDEPENDS:${PN} += "${@['', '${PYTHON_PN}-core']['${CLASSOVERRIDE}' == 'class-target']}" | 3 | RDEPENDS:${PN}:append:class-target = " ${PYTHON_PN}-core" |
| 4 | 4 | ||
| 5 | export STAGING_INCDIR | 5 | export STAGING_INCDIR |
| 6 | export STAGING_LIBDIR | 6 | export STAGING_LIBDIR |
