Patchwork [meta-fsl-arm,2/2] mesa: Don't fail if libGL is not build

login
register
mail settings
Submitter Otavio Salvador
Date July 25, 2013, 3:38 p.m.
Message ID <1374766691-1136-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/54515/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - July 25, 2013, 3:38 p.m.
When doing a x11-less system, build fails as mesa won't build
libGL. Avoid this making 'rm' use '-f' option.

Change-Id: Ia018d1c9a39e6ec6b4008b76659b1e6aa829d6c2
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-graphics/mesa/mesa_9.1.5.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/recipes-graphics/mesa/mesa_9.1.5.bbappend b/recipes-graphics/mesa/mesa_9.1.5.bbappend
index 4b3b10b..5b3c927 100644
--- a/recipes-graphics/mesa/mesa_9.1.5.bbappend
+++ b/recipes-graphics/mesa/mesa_9.1.5.bbappend
@@ -39,5 +39,5 @@  python __anonymous () {
 
 # FIXME: Dirty hack to allow use of Vivante GPU libGL binary
 do_install_append_mx6 () {
-    rm ${D}${libdir}/libGL.*
+    rm -f ${D}${libdir}/libGL.*
 }