ti-rm: provides ti resouce manager recipe for KeyStone devices
PATCH v3 1/1 ti-rm: provides ti resouce manager recipe for KeyStone devices
- TI Resource Manager Low Level Driver
Signed-off-by Aravind Batni <[email protected]>
---
Changes from last patch:
* Removed trailing white spaces
* Single space before and after '=' sign in line containing DEPENDS variable
* Sigle line strings for DEVICE and CHOICELIST variables
* Removed tab in do_install body
* Removed / between ${D} and ${libdir}
---
--- meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb
meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb new file +49 -0
@@ -0,0 +1,49 @@ +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.00.00.08 +SRCREV = "3a73cfe015214ff0401639f85fa5e52ea610e59d" +PR = "r0" +PV = "02.00.00.08" + +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 +}
Signature · 1 line
1.7.9.5
Quoted 3 lines · Aravind Batni
- TI Resource Manager Low Level Driver
Signed-off-by Aravind Batni <[email protected]>
Will be pushed once ti-ipc makes it.
Quoted 75 lines
---
Changes from last patch:
* Removed trailing white spaces
* Single space before and after '=' sign in line containing DEPENDS variable
* Sigle line strings for DEVICE and CHOICELIST variables
* Removed tab indo_installbody
* Removed / between ${D} and ${libdir}
------ meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bbmeta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb new file +49
-0@@ -0,0 +1,49 @@ +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.00.00.08 +SRCREV = "3a73cfe015214ff0401639f85fa5e52ea610e59d" +PR = "r0" +PV = "02.00.00.08" + +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 +}Signature · 6 lines
1.7.9.5 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago