Patchwork [meta-fsl-arm,v4,10/12] xf86-dri-vivante: Ensure install fails if .la cannot be removed

login
register
mail settings
Submitter Otavio Salvador
Date April 15, 2013, 8:16 p.m.
Message ID <1366056962-13233-11-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/48287/
State Accepted
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - April 15, 2013, 8:16 p.m.
To ensure we catch when the makefile stops to install the .la file, we
ensure the install fails in case .la file does not exist.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None

 recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb b/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb
index aa2361a..975041d 100644
--- a/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb
+++ b/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb
@@ -28,8 +28,8 @@  do_install_append () {
     cp -axr ${S}/src/*.h ${D}${includedir}/xorg
     find ${D}${includedir} -type f -exec chmod 660 {} \;
 
-    # don't install libtool (*.la) archive not usefull, fix Makefile.am
-    find ${D}${libdir}/xorg/modules -regex ".*\.la$" | xargs rm -f --
+    # FIXME: don't install libtool (*.la) file
+    rm ${D}${libdir}/xorg/modules/extensions/*.la
 }
 
 FILES_${PN}-dev += "${includedir}/xorg/*.h"