summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/mesa/mesa-common.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index de171f0845..cfe4a37c0c 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,7 +12,7 @@ SECTION = "x11"
12LICENSE = "MIT" 12LICENSE = "MIT"
13LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67" 13LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
14 14
15INC_PR = "r2" 15INC_PR = "r3"
16PE = "2" 16PE = "2"
17 17
18DEPENDS = "libxml2-native makedepend-native flex-native bison-native" 18DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
@@ -29,9 +29,8 @@ EXTRA_OECONF = "--enable-glu \
29 --disable-glut \ 29 --disable-glut \
30 --enable-shared-glapi" 30 --enable-shared-glapi"
31 31
32PACKAGECONFIG ??= "${@base_contains('MACHINE_FEATURES', 'x86', 'gles', '', d)} \ 32PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
33 ${@base_contains('MACHINE_FEATURES', 'x86', 'egl', '', d)} \ 33PACKAGECONFIG_append_x86 = " gles egl"
34 ${@base_contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
35 34
36X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" 35X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
37PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" 36PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"