From a9fd89aa06356917f6641fde0903f2d462ab5635 Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Wed, 8 Oct 2014 16:27:29 +0000 Subject: rm-lld: Rename recipe and update to new version - Removed ti-prefix based on review - Update to new version 2.1.0.6 - Add dependency on libdaemon - Remove device dependency - Updated license to BSD-3-Clause Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- recipes-bsp/rm-lld/rm-lld_git.bb | 41 +++++++++++++++++++++++++++++++++ recipes-bsp/rm-lld/ti-rm_git.bb | 49 ---------------------------------------- 2 files changed, 41 insertions(+), 49 deletions(-) create mode 100644 recipes-bsp/rm-lld/rm-lld_git.bb delete mode 100644 recipes-bsp/rm-lld/ti-rm_git.bb diff --git a/recipes-bsp/rm-lld/rm-lld_git.bb b/recipes-bsp/rm-lld/rm-lld_git.bb new file mode 100644 index 00000000..ed344787 --- /dev/null +++ b/recipes-bsp/rm-lld/rm-lld_git.bb @@ -0,0 +1,41 @@ +DESCRIPTION = "TI Resource Manager Low Level Driver" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" + +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}" +# Below commit ID corresponds to DEV.RM_LLD.02.01.00.06 +SRCREV = "dc0dba4a6b0358efcb861d50b3dae21beb5281a8" +PV = "02.01.00.06" +PR = "r0" + +COMPATIBLE_MACHINE = "keystone" + +DEPENDS = "ti-ipc libdaemon" + +PACKAGES =+ "${PN}-test" + +FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \ + ${bindir}/rmLinuxClientTest_*.out \ + ${bindir}/ti/drv/rm/test/dts_files/*.dtb" + +CHOICELIST = "yes no" + +BASEDIR = "${WORKDIR}/git" +S = "${BASEDIR}/ti/drv/rm" + +do_compile () { +# Now build the lld + make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} + for choice in ${CHOICELIST} + do + make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} USEDYNAMIC_LIB="$choice" + done +} + +do_install () { + install -d ${D}${includedir}/ti/drv/rm + install -d ${D}${libdir} + install -d ${D}${bindir} + make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} +} diff --git a/recipes-bsp/rm-lld/ti-rm_git.bb b/recipes-bsp/rm-lld/ti-rm_git.bb deleted file mode 100644 index 276c01e2..00000000 --- a/recipes-bsp/rm-lld/ti-rm_git.bb +++ /dev/null @@ -1,49 +0,0 @@ -DESCRIPTION = "TI Resource Manager Low Level Driver" -LICENSE = "TI BSD" -LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" - -BRANCH="master" -SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}" -# Below commit ID corresponds to DEV.RM_LLD.02.01.00.04 -SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049" -PR = "r0" -PV = "02.01.00.04" - -COMPATIBLE_MACHINE = "keystone" - -DEPENDS = "ti-ipc" - -PACKAGES =+ "${PN}-test" - -FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \ - ${bindir}/rmLinuxClientTest_*.out \ - ${bindir}/ti/drv/rm/test/dts_files/*.dtb" - -DEVICELIST = "k2h k2k" - -CHOICELIST = "yes no" - -BASEDIR = "${WORKDIR}/git" -S = "${BASEDIR}/ti/drv/rm" - -do_compile () { -# Now build the lld - make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} - for device in ${DEVICELIST} - do - for choice in ${CHOICELIST} - do - make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice" - done - done -} - -do_install () { - install -d ${D}${includedir}/ti/drv/rm - install -d ${D}${libdir} - install -d ${D}${bindir} - for device in ${DEVICELIST} - do - make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" - done -} -- cgit v1.2.3-54-g00ecf