summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa
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-graphics/mesa
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-graphics/mesa')
-rw-r--r--meta/recipes-graphics/mesa/libglu_9.0.2.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/libglu_9.0.2.bb b/meta/recipes-graphics/mesa/libglu_9.0.2.bb
index 64fa82e5a8..0d27dd116b 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.2.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.2.bb
@@ -25,4 +25,4 @@ inherit autotools pkgconfig features_check
25REQUIRED_DISTRO_FEATURES = "x11 opengl" 25REQUIRED_DISTRO_FEATURES = "x11 opengl"
26 26
27# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty 27# Remove the mesa-glu dependency in mesa-glu-dev, as mesa-glu is empty
28RDEPENDS:${PN}-dev = "" 28DEV_PKG_DEPENDENCY = ""
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 83705fc34d..bb39e2f369 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -183,7 +183,7 @@ CFLAGS:append:armv5 = " -DMISSING_64BIT_ATOMICS"
183CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS" 183CFLAGS:append:armv6 = " -DMISSING_64BIT_ATOMICS"
184 184
185# Remove the mesa dependency on mesa-dev, as mesa is empty 185# Remove the mesa dependency on mesa-dev, as mesa is empty
186RDEPENDS:${PN}-dev = "" 186DEV_PKG_DEPENDENCY = ""
187 187
188# Khronos documentation says that include/GLES2/gl2ext.h can be used for 188# Khronos documentation says that include/GLES2/gl2ext.h can be used for
189# OpenGL ES 3 specification as well as for OpenGL ES 2. 189# OpenGL ES 3 specification as well as for OpenGL ES 2.