diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2013-07-01 21:36:24 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-05 15:34:25 +0100 |
| commit | e4103bcf2e0e66dc41e8a8a1d62f591233e54921 (patch) | |
| tree | 1f2902f10bae55bf5893320835a7139c08b37218 | |
| parent | efaa5ab1031d893829085ed13938a37a0a2a8ede (diff) | |
| download | poky-e4103bcf2e0e66dc41e8a8a1d62f591233e54921.tar.gz | |
mesa: Improve gallium PACKAGECONFIG options
* rename llvmpipe to llvm to match configure option
* add MESA_LLVM_RELEASE to allow switching to 3.3 easier
* --enable-gallium isn't recognized option, split it to 2 more
PACKAGECONFIGs for gbm and egl
(From OE-Core rev: 0b1e64a8d026a8021f4568758a637689e886037b)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 01dbbade32..599ec7e2c2 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
| @@ -49,10 +49,13 @@ PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disa | |||
| 49 | PACKAGECONFIG[openvg] = "--enable-openvg, --disable-openvg" | 49 | PACKAGECONFIG[openvg] = "--enable-openvg, --disable-openvg" |
| 50 | 50 | ||
| 51 | GALLIUMDRIVERS = "swrast" | 51 | GALLIUMDRIVERS = "swrast" |
| 52 | PACKAGECONFIG[gallium] = "--enable-gallium --with-gallium-drivers=${GALLIUMDRIVERS}, --disable-gallium --without-gallium-drivers" | 52 | # keep --with-gallium-drivers separate, because when only one of gallium versions is enabled, other 2 were adding --without-gallium-drivers |
| 53 | 53 | PACKAGECONFIG[gallium] = "--with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers" | |
| 54 | export WANT_LLVM_RELEASE = "3.2" | 54 | PACKAGECONFIG[gallium-egl] = "--enable-gallium-egl, --disable-gallium-egl" |
| 55 | PACKAGECONFIG[gallium-llvmpipe] = "--enable-gallium-llvm --enable-gallium-egl --enable-gallium-gbm --with-llvm-shared-libs --with-gallium-drivers=${GALLIUMDRIVERS}, --disable-gallium --without-gallium-drivers, llvm3.2" | 55 | PACKAGECONFIG[gallium-gbm] = "--enable-gallium-gbm, --disable-gallium-gbm" |
| 56 | MESA_LLVM_RELEASE ?= "3.2" | ||
| 57 | PACKAGECONFIG[gallium-llvm] = "--enable-gallium-llvm --with-llvm-shared-libs, --disable-gallium-llvm, llvm${MESA_LLVM_RELEASE}" | ||
| 58 | export WANT_LLVM_RELEASE = "${MESA_LLVM_RELEASE}" | ||
| 56 | 59 | ||
| 57 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) | 60 | # llvmpipe is slow if compiled with -fomit-frame-pointer (e.g. -O2) |
| 58 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" | 61 | FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" |
