aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend
diff options
context:
space:
mode:
authorRonan Le Martret <ronan.lemartret@iot.bzh>2016-10-14 14:28:48 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-01-11 19:24:32 +0000
commitfa874ec8c3cc4717f2e2807a23f5b395f435ea50 (patch)
treece327143749da063837bf4efa47a59f4da3e0b6b /meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend
parent8252ddd2044d18d2a83488d4bd5c5d12dcc622e9 (diff)
update mesa from version 11 to 12
Change-Id: Ic8f71a9c03f3e7a75fd7864cefcd1021e825f0aa Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
Diffstat (limited to 'meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend')
-rw-r--r--meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend b/meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend
new file mode 100644
index 0000000..cd08da8
--- /dev/null
+++ b/meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend
@@ -0,0 +1,17 @@
+require ../../include/gles-control.inc
+
+def map_libs(d):
+ if base_conditional('USE_GLES_WAYLAND', "1", "1", "0", d) == "1":
+ return "wayland"
+
+ if base_conditional('USE_GLES_X11', "1", "1", "0", d) == "1":
+ return "x11"
+
+ return "dummy"
+
+MESATARGET := "${@map_libs(d)}"
+include mesa-${MESATARGET}.inc
+
+# For R-Car E2 temporarily disable Cortex A7 optimisation to avoid upstream
+# build issue between YP 1.7 gcc toolchain and Mesa 10.1.x releases.
+TARGET_CC_ARCH_remove_r8a7794 = "-mtune=cortex-a7"