diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-24 23:46:34 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-06-28 23:49:37 +0100 |
commit | 73cf55cdde1f3d2773b42f52d2fcf57665102c81 (patch) | |
tree | 0644cd947ff8c9d4e3917bc105fe296135059c15 /meta/recipes-devtools | |
parent | 4705dd264681d908f144dd4d9bf1f6175f68d8b9 (diff) | |
download | poky-73cf55cdde1f3d2773b42f52d2fcf57665102c81.tar.gz |
bitbake.conf/recipes: Introduce add DEV_PKG_DEPENDENCY to change RDEPENDS:${PN}-dev
There is a pattern that several recipes need to break the dependency of ${PN}-dev
on ${PN}, most often as ${PN} may be be empty. Add a new variable to parameterise
this and allow it to be changed more easily.
(From OE-Core rev: a5b381c0f45c590a762647a9956a8f41e2e2315e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-common.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3_3.10.5.bb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc index d48dc8b823..fbeb43d718 100644 --- a/meta/recipes-devtools/gcc/libgcc-common.inc +++ b/meta/recipes-devtools/gcc/libgcc-common.inc | |||
@@ -52,8 +52,8 @@ do_install:append:libc-newlib () { | |||
52 | } | 52 | } |
53 | 53 | ||
54 | # No rpm package is actually created but -dev depends on it, avoid dnf error | 54 | # No rpm package is actually created but -dev depends on it, avoid dnf error |
55 | RDEPENDS:${PN}-dev:libc-baremetal = "" | 55 | DEV_PKG_DEPENDENCY:libc-baremetal = "" |
56 | RDEPENDS:${PN}-dev:libc-newlib = "" | 56 | DEV_PKG_DEPENDENCY:libc-newlib = "" |
57 | 57 | ||
58 | BBCLASSEXTEND = "nativesdk" | 58 | BBCLASSEXTEND = "nativesdk" |
59 | 59 | ||
diff --git a/meta/recipes-devtools/python/python3_3.10.5.bb b/meta/recipes-devtools/python/python3_3.10.5.bb index 599a1884b4..b237c48735 100644 --- a/meta/recipes-devtools/python/python3_3.10.5.bb +++ b/meta/recipes-devtools/python/python3_3.10.5.bb | |||
@@ -416,7 +416,7 @@ RDEPENDS:${PN}-ptest = "${PN}-modules ${PN}-tests ${PN}-dev unzip bzip2 libgcc t | |||
416 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9" | 416 | RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9" |
417 | RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}" | 417 | RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}" |
418 | RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}" | 418 | RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}" |
419 | RDEPENDS:${PN}-dev = "" | 419 | DEV_PKG_DEPENDENCY = "" |
420 | RDEPENDS:${PN}-pydoc += "${PN}-io" | 420 | RDEPENDS:${PN}-pydoc += "${PN}-io" |
421 | 421 | ||
422 | RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash" | 422 | RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash" |