summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc12
1 files changed, 7 insertions, 5 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 59e8923f26..1b712a24ea 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -22,7 +22,12 @@ inherit autotools pkgconfig gettext distro_features_check
22 22
23REQUIRED_DISTRO_FEATURES = "opengl" 23REQUIRED_DISTRO_FEATURES = "opengl"
24 24
25EXTRA_OECONF = "--enable-shared-glapi --with-llvm-prefix=${STAGING_BINDIR_NATIVE}" 25PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)} \
26 ${@bb.utils.contains('PACKAGECONFIG', 'gbm', 'drm', '', d)}"
27
28EXTRA_OECONF = "--enable-shared-glapi \
29 --with-llvm-prefix=${STAGING_BINDIR_NATIVE} \
30 --with-platforms='${PLATFORMS}'"
26 31
27PACKAGECONFIG ??= "gbm egl gles dri \ 32PACKAGECONFIG ??= "gbm egl gles dri \
28 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)} \ 33 ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)} \
@@ -47,10 +52,7 @@ PACKAGECONFIG[vulkan] = "--with-vulkan-drivers=intel, --without-vulkan-drivers"
47 52
48PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" 53PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"
49 54
50EGL_PLATFORMS = "drm" 55PACKAGECONFIG[egl] = "--enable-egl, --disable-egl"
51EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'x11', ',x11', '', d)}"
52EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}"
53PACKAGECONFIG[egl] = "--enable-egl --with-platforms=${EGL_PLATFORMS}, --disable-egl --with-platforms=''"
54 56
55PACKAGECONFIG[etnaviv] = "" 57PACKAGECONFIG[etnaviv] = ""
56PACKAGECONFIG[imx] = "" 58PACKAGECONFIG[imx] = ""