]> code.ossystems Code Review - meta-freescale.git/commitdiff
xf86-dri-vivante: Ensure install fails if .la cannot be removed
authorOtavio Salvador <otavio@ossystems.com.br>
Thu, 11 Apr 2013 14:47:00 +0000 (11:47 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 17 Apr 2013 21:20:22 +0000 (18:20 -0300)
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>
meta-fsl-arm/recipes-graphics/xorg-driver/xf86-dri-vivante_1.1.0.bb

index aa2361a54622db121a32fb73b7ed3d267387b789..975041d432ac83e9c9dac38f8a0ad9e4dc7483c6 100644 (file)
@@ -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"