From e3b0f456ba8176253cf0d289a14bf26b1ea2134a Mon Sep 17 00:00:00 2001 From: Stephen Lawrence Date: Thu, 20 Aug 2015 15:58:45 +0100 Subject: alt: mesa: Temporary workaround to upstream Mesa build issue Temporarily disable Cortex A7 optimisation to avoid upstream build issue between YP 1.7 gcc toolchain and Mesa 10.1,x releases. The build goes away and never returns. Graphics acceleration makes no use of Mesa so there should be no performance impact. This should be removed once upstream is fixed. --- meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend b/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend index c7f7f28..c5b6a2d 100644 --- a/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend +++ b/meta-rcar-gen2/recipes-graphics/mesa/mesa_10.%.bbappend @@ -11,3 +11,7 @@ def map_libs(d): MESATARGET := "${@map_libs(d)}" include mesa-${MESATARGET}.inc + +# 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_alt = "-mtune=cortex-a7" -- cgit 1.2.3-korg