]> code.ossystems Code Review - meta-freescale.git/commitdiff
imx-gpu-viv: Extend cleanup code for versioned libraries
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 8 Sep 2020 17:55:12 +0000 (10:55 -0700)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 24 Sep 2020 02:42:37 +0000 (23:42 -0300)
The do_install includes code for removing graphics backend-specific
libraries that are not for the selected graphics backend. Extend
this cleanup code to handle libraries with a version suffix.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/imx-gpu-viv/imx-gpu-viv-6.inc

index 33f70c2ed2b68c560facc84c29b5c2b54bb7bea0..7ac339bf5a5cc0e14b0029f53f1210cd4c447ebf 100644 (file)
@@ -257,8 +257,8 @@ do_install () {
     fi
 
     for i in wl x11 fb dri; do
-        find ${D}${libdir} -name "*-$i.so" -exec rm '{}' ';'
-        find ${D}${libdir} -name "*.$i.so" -exec rm '{}' ';'
+        find ${D}${libdir} -name "*-$i.so*" -exec rm '{}' ';'
+        find ${D}${libdir} -name "*.$i.so*" -exec rm '{}' ';'
     done
 
     # FIXME: MX6SL does not have 3D support; hack it for now