All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] ti-rm: provides ti resouce manager recipe for KeyStone devices
@ 2014-02-22  1:07 Aravind Batni
  2014-02-26 22:11 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Aravind Batni @ 2014-02-22  1:07 UTC (permalink / raw)
  To: meta-arago; +Cc: Aravind Batni

- TI Resource Manager Low Level Driver

Signed-off-by: Aravind Batni <aravindbr@ti.com>

---
Changes from last patch:
* Removed ti-rm.inc file
* Added destsuffix in the SRCURI to clone RM git under git/ti/drv/rm folder
* Removed the symbolic link workaround
* Added PV
* Added for loop for multiple devices and choices for the test binaries
---
---
 meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb |   53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100755 meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb

diff --git a/meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb b/meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb
new file mode 100755
index 0000000..761a722
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-rm/ti-rm_git.bb
@@ -0,0 +1,53 @@
+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 in the updated directory	
+    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	
+}
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-02-26 22:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-22  1:07 [PATCH v2] ti-rm: provides ti resouce manager recipe for KeyStone devices Aravind Batni
2014-02-26 22:11 ` Denys Dmytriyenko
2014-02-26 22:52   ` Aravind Batni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.