Patchwork [meta-fsl-arm,2/8] imx-lib.inc: Add .so files in imx-lib package

login
register
mail settings
Submitter Otavio Salvador
Date July 17, 2013, 6:17 p.m.
Message ID <1374085031-2116-2-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/53901/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - July 17, 2013, 6:17 p.m.
The libfslcodec-standalone-bin package requires the .so files to run
so we're forced to provide it in the main package. This must be fixed
by Freescale as the source code of it is closed.

Change-Id: I610e48dd55c02d8005a35c362158085d81e3daab
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 recipes-bsp/imx-lib/imx-lib.inc | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/recipes-bsp/imx-lib/imx-lib.inc b/recipes-bsp/imx-lib/imx-lib.inc
index 4fb6746..8f991f3 100644
--- a/recipes-bsp/imx-lib/imx-lib.inc
+++ b/recipes-bsp/imx-lib/imx-lib.inc
@@ -32,3 +32,11 @@  do_compile () {
 do_install () {
     oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install
 }
+
+# FIXME: The libfslcodec-standalone-bin package requires the .so files
+#        to run so we're forced to provide it in the main package.
+#        This must be fixed by Freescale as the source code of it is
+#        closed.
+PACKAGES = "${PN} ${PN}-dev ${PN}-dbg ${PN}-staticdev"
+FILES_${PN} += "${libdir}/lib*${SOLIBSDEV}"
+INSANE_SKIP_${PN} += "dev-so"