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-graphics/xorg-proto | |
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-graphics/xorg-proto')
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb | 2 | ||||
-rw-r--r-- | meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb index f050ed366c..070fb62455 100644 --- a/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb +++ b/meta/recipes-graphics/xorg-proto/xcb-proto_1.15.bb | |||
@@ -22,7 +22,7 @@ FILES:${PN} = "" | |||
22 | FILES:${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd" | 22 | FILES:${PN}-dev += "${datadir}/xcb/*.xml ${datadir}/xcb/*.xsd" |
23 | FILES:python-xcbgen = "${PYTHON_SITEPACKAGES_DIR}" | 23 | FILES:python-xcbgen = "${PYTHON_SITEPACKAGES_DIR}" |
24 | 24 | ||
25 | RDEPENDS:${PN}-dev = "" | 25 | DEV_PKG_DEPENDENCY = "" |
26 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" | 26 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" |
27 | 27 | ||
28 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb b/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb index 7786318476..a1e852b9eb 100644 --- a/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb +++ b/meta/recipes-graphics/xorg-proto/xorgproto_2022.1.bb | |||
@@ -19,7 +19,7 @@ PACKAGECONFIG[legacy] = "-Dlegacy=true,-Dlegacy=false" | |||
19 | # Datadir only used to install pc files, $datadir/pkgconfig | 19 | # Datadir only used to install pc files, $datadir/pkgconfig |
20 | datadir="${libdir}" | 20 | datadir="${libdir}" |
21 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies | 21 | # ${PN} is empty so we need to tweak -dev and -dbg package dependencies |
22 | RDEPENDS:${PN}-dev = "" | 22 | DEV_PKG_DEPENDENCY = "" |
23 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" | 23 | RRECOMMENDS:${PN}-dbg = "${PN}-dev (= ${EXTENDPKGV})" |
24 | 24 | ||
25 | BBCLASSEXTEND = "native nativesdk" | 25 | BBCLASSEXTEND = "native nativesdk" |