diff options
| author | Quentin Schulz <quentin.schulz@cherry.de> | 2025-09-04 16:03:34 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-11 11:31:56 +0100 |
| commit | 06b876d916f0ab75372758bfccf502bf6e069e70 (patch) | |
| tree | 7361d2b0137b9f731609c8023210e9dd0fade966 | |
| parent | a34162bd2af02d6216e997a323b38376f68f7686 (diff) | |
| download | poky-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.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.bb | 2 | ||||
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 2 |
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" | |||
| 15 | PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" | 15 | PACKAGECONFIG:append:x86-64 = " libclc gallium-llvm intel amd nouveau svga" |
| 16 | PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" | 16 | PACKAGECONFIG:append:i686 = " libclc gallium-llvm intel amd nouveau svga" |
| 17 | PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" | 17 | PACKAGECONFIG:append:class-native = " libclc gallium-llvm amd nouveau svga" |
| 18 | |||
| 19 | BBCLASSEXTEND = "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 | |||
| 27 | BBCLASSEXTEND = "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 | ||
| 44 | inherit meson pkgconfig python3native gettext features_check rust | 44 | inherit meson pkgconfig python3native gettext features_check rust |
| 45 | 45 | ||
| 46 | BBCLASSEXTEND = "native nativesdk" | ||
| 47 | |||
| 48 | ANY_OF_DISTRO_FEATURES = "opengl vulkan" | 46 | ANY_OF_DISTRO_FEATURES = "opengl vulkan" |
| 49 | 47 | ||
| 50 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" | 48 | PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}" |
