From fa874ec8c3cc4717f2e2807a23f5b395f435ea50 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 14 Oct 2016 14:28:48 +0200 Subject: update mesa from version 11 to 12 Change-Id: Ic8f71a9c03f3e7a75fd7864cefcd1021e825f0aa Signed-off-by: Ronan Le Martret --- meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend (limited to 'meta-rcar-gen2/recipes-graphics/mesa/mesa_12.%.bbappend') 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" -- cgit 1.2.3-korg