diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2017-03-26 16:59:00 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-27 20:22:50 +0100 |
commit | fd8d814027e90126adb8ca543f453f145e5d4da6 (patch) | |
tree | 68649503fd9838eee6b49f3704611d347516aa71 /meta/recipes-graphics/mesa | |
parent | 633564b017dfcafb5b2f8350b22d18dbd2802c3c (diff) | |
download | poky-fd8d814027e90126adb8ca543f453f145e5d4da6.tar.gz |
mesa: Add Etnaviv and i.MX Gallium backend PACKAGECONFIG options
The MESA 17.0 has Etnaviv and i.MX support. Expose them in
PACKAGECONFIG for use.
(From OE-Core rev: b77c0355e272e9e7a7ab625eef27a8717225b132)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 0f3dbb0397..0348bb2dbb 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -27,7 +27,6 @@ EXTRA_OECONF = "--enable-shared-glapi --with-llvm-prefix=${STAGING_BINDIR_NATIVE | |||
27 | PACKAGECONFIG ??= "gbm egl gles dri \ | 27 | PACKAGECONFIG ??= "gbm egl gles dri \ |
28 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \ | 28 | ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)} \ |
29 | " | 29 | " |
30 | |||
31 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" | 30 | PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" |
32 | 31 | ||
33 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" | 32 | X11_DEPS = "xf86driproto glproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" |
@@ -52,7 +51,12 @@ EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'x11', ',x11', '', d)}" | |||
52 | EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" | 51 | EGL_PLATFORMS .="${@bb.utils.contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" |
53 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" | 52 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" |
54 | 53 | ||
54 | PACKAGECONFIG[etnaviv] = "" | ||
55 | PACKAGECONFIG[imx] = "" | ||
56 | |||
55 | GALLIUMDRIVERS = "swrast" | 57 | GALLIUMDRIVERS = "swrast" |
58 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'etnaviv', ',etnaviv', '', d)}" | ||
59 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'imx', ',imx', '', d)}" | ||
56 | GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 'radeonsi,r600', '', d)}" | 60 | GALLIUMDRIVERS_LLVM33 = "${@bb.utils.contains('PACKAGECONFIG', 'r600', 'radeonsi,r600', '', d)}" |
57 | PACKAGECONFIG[r600] = "" | 61 | PACKAGECONFIG[r600] = "" |
58 | GALLIUMDRIVERS_LLVM33_ENABLED = "${@base_version_less_or_equal('MESA_LLVM_RELEASE', '3.2', False, len('${GALLIUMDRIVERS_LLVM33}') > 0, d)}" | 62 | GALLIUMDRIVERS_LLVM33_ENABLED = "${@base_version_less_or_equal('MESA_LLVM_RELEASE', '3.2', False, len('${GALLIUMDRIVERS_LLVM33}') > 0, d)}" |