summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@cherry.de>2025-09-04 16:03:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-09-11 11:31:56 +0100
commit06b876d916f0ab75372758bfccf502bf6e069e70 (patch)
tree7361d2b0137b9f731609c8023210e9dd0fade966
parenta34162bd2af02d6216e997a323b38376f68f7686 (diff)
downloadpoky-06b876d916f0ab75372758bfccf502bf6e069e70.tar.gz
mesa: move BBCLASSEXTEND out of the include file
We're going to have a new mesa-tools-native recipe include mesa.inc soon. We don't need a target mesa-tools recipe for now so we'll go with a native-only recipe which this BBCLASSEXTEND prevents us to do properly, so let's move them to the recipes instead. No intended change in behavior. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> (From OE-Core rev: 8bf89f19b7b18b81f4dc59e89a16f4136c914137) Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/mesa/mesa-gl.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.bb2
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
3 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl.bb b/meta/recipes-graphics/mesa/mesa-gl.bb
index d27d606875..4d71406b6d 100644
--- a/meta/recipes-graphics/mesa/mesa-gl.bb
+++ b/meta/recipes-graphics/mesa/mesa-gl.bb
@@ -15,3 +15,5 @@ PACKAGECONFIG:append:x86 = " libclc gallium-llvm intel amd nouveau svga"
15PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" 15PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga"
16PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" 16PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga"
17PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" 17PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga"
18
19BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/mesa/mesa.bb b/meta/recipes-graphics/mesa/mesa.bb
index 51d0384ef5..db5eab5fb2 100644
--- a/meta/recipes-graphics/mesa/mesa.bb
+++ b/meta/recipes-graphics/mesa/mesa.bb
@@ -23,3 +23,5 @@ PROVIDES = " \
23 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \ 23 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'virtual/libgbm', '', d)} \
24 virtual/mesa \ 24 virtual/mesa \
25" 25"
26
27BBCLASSEXTEND = "native nativesdk"
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 46fe465cd8..4c079fe0ab 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -43,8 +43,6 @@ EXTRANATIVEPATH += "chrpath-native"
43 43
44inherit meson pkgconfig python3native gettext features_check rust 44inherit meson pkgconfig python3native gettext features_check rust
45 45
46BBCLASSEXTEND = "native nativesdk"
47
48ANY_OF_DISTRO_FEATURES = "opengl vulkan" 46ANY_OF_DISTRO_FEATURES = "opengl vulkan"
49 47
50PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" 48PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"