diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 |
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}" | |||
36 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" | 36 | export YOCTO_ALTERNATE_EXE_PATH = "${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config" |
37 | EXTRA_OECONF = "--enable-shared-glapi \ | 37 | EXTRA_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 | ||
103 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" | 104 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" |
104 | 105 | ||
106 | EXTRA_OECONF_remove_libc-musl = "--enable-glx-tls" | ||
107 | EXTRA_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) |
106 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" | 109 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" |
107 | 110 | ||
108 | CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" | 111 | CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" |
109 | |||
110 | EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols" | 112 | EXTRA_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 |