From 20109e659434e77777ff6d39f9967d7831e1baca Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 9 Aug 2017 23:31:18 +0200 Subject: Upgrade to pyro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This upgrades the 'porter-nogfx' to pyro. The graphical target 'porter' still needs extra work. Change-Id: I5c193f74a779dcdce8dcfd0830344dfe6e72d515 Signed-off-by: Jan-Simon Möller --- meta-rcar-gen2/recipes-graphics/mesa/mesa_%.bbappend | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-rcar-gen2/recipes-graphics/mesa/mesa_%.bbappend (limited to 'meta-rcar-gen2') diff --git a/meta-rcar-gen2/recipes-graphics/mesa/mesa_%.bbappend b/meta-rcar-gen2/recipes-graphics/mesa/mesa_%.bbappend new file mode 100644 index 0000000..af3a138 --- /dev/null +++ b/meta-rcar-gen2/recipes-graphics/mesa/mesa_%.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