[meta-ti] [PATCH] sa-lld: Update to new version 3.0.0.11

Sam Nelson sam.nelson at ti.com
Mon Oct 19 12:31:36 PDT 2015


- Add device independent symbolic link for dynamic library
- Add utils to test build

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-bsp/sa-lld/sa-lld-test_git.bb |    2 +-
 recipes-bsp/sa-lld/sa-lld.inc         |    7 +++----
 recipes-bsp/sa-lld/sa-lld_git.bb      |    5 +++++
 3 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/recipes-bsp/sa-lld/sa-lld-test_git.bb b/recipes-bsp/sa-lld/sa-lld-test_git.bb
index 2069d41..7cb0ac7 100644
--- a/recipes-bsp/sa-lld/sa-lld-test_git.bb
+++ b/recipes-bsp/sa-lld/sa-lld-test_git.bb
@@ -15,7 +15,7 @@ do_compile () {
 		make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S}
 		for choice in ${CHOICELIST}
 		do
-			make -f makefile_armv7 examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
+			make -f makefile_armv7 examples utils PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" SA_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
 		done
 	done
 }
diff --git a/recipes-bsp/sa-lld/sa-lld.inc b/recipes-bsp/sa-lld/sa-lld.inc
index 6dc8566..8066279 100644
--- a/recipes-bsp/sa-lld/sa-lld.inc
+++ b/recipes-bsp/sa-lld/sa-lld.inc
@@ -5,10 +5,9 @@ LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/sa/COPYING.txt;md5=4709d353574a
 
 BRANCH = "master"
 SRC_URI = "git://git.ti.com/keystone-rtos/sa-lld.git;destsuffix=git/ti/drv/sa;protocol=git;branch=${BRANCH}"
-# Following commit DEV.SA_LLD.03.00.00.10
-SRCREV = "533aec7ef0e28c3faff4ee64a861c8935262dc33"
-PV = "03.00.00.10"
-PR = "r1"
+# Following commit DEV.SA_LLD.03.00.00.11A
+SRCREV = "bf5b097e868b20d23d386abc34a1902903d7d9ea"
+PV = "03.00.00.11"
 
 BASEDIR = "${WORKDIR}/git"
 S = "${BASEDIR}/ti/drv/sa"
diff --git a/recipes-bsp/sa-lld/sa-lld_git.bb b/recipes-bsp/sa-lld/sa-lld_git.bb
index f345895..c6ad7be 100644
--- a/recipes-bsp/sa-lld/sa-lld_git.bb
+++ b/recipes-bsp/sa-lld/sa-lld_git.bb
@@ -11,4 +11,9 @@ do_compile () {
 
 do_install () {
 	make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+
+#   Set the generic device library symbolic link
+	cd ${D}${libdir}
+	ln -sf libsa.so.1.0.0 libsa_device.so.1
+	ln -sf libsa_device.so.1 libsa_device.so
 }
-- 
1.7.9.5



More information about the meta-ti mailing list