summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 945272507a..6aedeee9dc 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -36,6 +36,7 @@ export LLVM_CONFIG = "${STAGING_BINDIR_NATIVE}/llvm-config${MESA_LLVM_RELEASE}"
36export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" 36export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
37EXTRA_OECONF = "--enable-shared-glapi \ 37EXTRA_OECONF = "--enable-shared-glapi \
38 --disable-opencl \ 38 --disable-opencl \
39 --enable-glx-read-only-text \
39 PYTHON2=python2 \ 40 PYTHON2=python2 \
40 --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \ 41 --with-llvm-prefix=${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE} \
41 --with-platforms='${PLATFORMS}'" 42 --with-platforms='${PLATFORMS}'"
@@ -102,11 +103,12 @@ PACKAGECONFIG[osmesa] = "--enable-${OSMESA},--disable-${OSMESA}"
102 103
103PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" 104PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
104 105
106EXTRA_OECONF_remove_libc-musl = "--enable-glx-tls"
107EXTRA_OECONF_append_libc-musl = " --disable-glx-tls"
105# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) 108# llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2)
106FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" 109FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer"
107 110
108CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" 111CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS"
109
110EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols" 112EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols"
111 113
112# Remove the mesa dependency on mesa-dev, as mesa is empty 114# Remove the mesa dependency on mesa-dev, as mesa is empty