From 5ae46649cd82a7c05695a089642eeb51f583627a Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Thu, 22 Oct 2015 10:03:01 +0000 Subject: [PATCH] sa-lld: Update to new version 3.0.0.11 - Add device independent symbolic link for dynamic library - Add utils to test build Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- 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 | 4 ++++ 3 files changed, 8 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 2069d415..7cb0ac7a 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 6dc85668..80662796 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 f3458950..3df2c6cb 100644 --- a/recipes-bsp/sa-lld/sa-lld_git.bb +++ b/recipes-bsp/sa-lld/sa-lld_git.bb @@ -11,4 +11,8 @@ 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 + ln -sf libsa.so.1.0.0 ${D}${libdir}/libsa_device.so.1 + ln -sf libsa_device.so.1 ${D}${libdir}/libsa_device.so }