From 5698cf23837e1730f21766bf1b34227b61d20133 Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Fri, 8 Sep 2017 23:22:34 +0200 Subject: Fix RSS-related issues for rcar gen2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For pyro we need to fix a few recipes to work with the recipe specific sysroot feature. Change-Id: I9cc12083675ea2522a1f453f603b034e911d79fd Bug-AGL: SPEC-646 Signed-off-by: Jan-Simon Möller --- meta-rcar-gen2/recipes-graphics/mesa/mesa_17.%.bbappend | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-rcar-gen2/recipes-graphics/mesa/mesa_17.%.bbappend (limited to 'meta-rcar-gen2/recipes-graphics/mesa/mesa_17.%.bbappend') diff --git a/meta-rcar-gen2/recipes-graphics/mesa/mesa_17.%.bbappend b/meta-rcar-gen2/recipes-graphics/mesa/mesa_17.%.bbappend new file mode 100644 index 0000000..cd08da8 --- /dev/null +++ b/meta-rcar-gen2/recipes-graphics/mesa/mesa_17.%.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