diff options
| author | Quentin Schulz <quentin.schulz@cherry.de> | 2025-09-04 16:03:30 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-09-11 11:31:56 +0100 |
| commit | b40b112f3206e031dbe44d0fc07de8a2fc005041 (patch) | |
| tree | 183a8ed4e87f43bf13a23e885569afc46a85c86a | |
| parent | b72fb3f6c3b75fb4ef7e5a969b8e766533ab7aa8 (diff) | |
| download | poky-b40b112f3206e031dbe44d0fc07de8a2fc005041.tar.gz | |
mesa-gl: make mesa-gl really openGL-only
The ??= operator for PACKAGECONFIG doesn't actually do anything because
the recipe includes mesa.inc which already sets this variable (with the
= operator).
This probably wasn't noticed until now because mesa-gl is likely only
ever built in its target flavor which was already set correctly thanks
to the :class-target override.
This essentially only make mesa-gl-native and nativesdk-mesa-gl follow
the same configuration as the target.
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tested-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
(From OE-Core rev: ab44fa12223b126fe7d337a2eb7489f5fba94901)
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 | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl.bb b/meta/recipes-graphics/mesa/mesa-gl.bb index e2f03c81c4..35d6dc854c 100644 --- a/meta/recipes-graphics/mesa/mesa-gl.bb +++ b/meta/recipes-graphics/mesa/mesa-gl.bb | |||
| @@ -9,6 +9,4 @@ S = "${UNPACKDIR}/mesa-${PV}" | |||
| 9 | TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" | 9 | TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm" |
| 10 | 10 | ||
| 11 | # At least one DRI rendering engine is required to build mesa. | 11 | # At least one DRI rendering engine is required to build mesa. |
| 12 | PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | 12 | PACKAGECONFIG = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" |
| 13 | PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}" | ||
| 14 | |||
