summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-24 23:46:34 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-28 23:49:37 +0100
commit73cf55cdde1f3d2773b42f52d2fcf57665102c81 (patch)
tree0644cd947ff8c9d4e3917bc105fe296135059c15 /meta/recipes-devtools
parent4705dd264681d908f144dd4d9bf1f6175f68d8b9 (diff)
downloadpoky-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.inc4
-rw-r--r--meta/recipes-devtools/python/python3_3.10.5.bb2
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
55RDEPENDS:${PN}-dev:libc-baremetal = "" 55DEV_PKG_DEPENDENCY:libc-baremetal = ""
56RDEPENDS:${PN}-dev:libc-newlib = "" 56DEV_PKG_DEPENDENCY:libc-newlib = ""
57 57
58BBCLASSEXTEND = "nativesdk" 58BBCLASSEXTEND = "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
416RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9" 416RDEPENDS:${PN}-ptest:append:libc-glibc = " locale-base-tr-tr.iso-8859-9"
417RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}" 417RDEPENDS:${PN}-tkinter += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${MLPREFIX}tk ${MLPREFIX}tk-lib', '', d)}"
418RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}" 418RDEPENDS:${PN}-idle += "${@bb.utils.contains('PACKAGECONFIG', 'tk', '${PN}-tkinter ${MLPREFIX}tcl', '', d)}"
419RDEPENDS:${PN}-dev = "" 419DEV_PKG_DEPENDENCY = ""
420RDEPENDS:${PN}-pydoc += "${PN}-io" 420RDEPENDS:${PN}-pydoc += "${PN}-io"
421 421
422RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash" 422RDEPENDS:${PN}-tests:append:class-target = " ${MLPREFIX}bash"