[meta-ti] [PATCH 2/2] iqn2-lld: Add recipes for TI iqn2 peripheral module low level driver
Sam Nelson
sam.nelson at ti.com
Mon Feb 2 07:55:24 PST 2015
-Provides low level driver and test code for TI iqn2 peripheral module
- Supports k2l device
Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb | 16 ++++++++++++++++
recipes-bsp/iqn2-lld/iqn2-lld.inc | 13 +++++++++++++
recipes-bsp/iqn2-lld/iqn2-lld_git.bb | 16 ++++++++++++++++
3 files changed, 45 insertions(+)
create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld.inc
create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld_git.bb
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
new file mode 100644
index 0000000..f1aa9e4
--- /dev/null
+++ b/recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "TI IQN2 peripheral module low level driver test binaries"
+
+DEPENDS = "common-csl-ip iqn2-lld dfe-lld"
+
+include iqn2-lld.inc
+
+EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} IQN2_SRC_DIR=${WORKDIR}/git"
+
+do_compile () {
+ oe_runmake clean DEVICE=k2l
+ oe_runmake tests DEVICE=k2l
+}
+
+do_install () {
+ oe_runmake installbin DEVICE=k2l IQN2_SRC_DIR=${WORKDIR}/git INSTALL_BIN_BASE_DIR=${D}/${bindir}
+}
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld.inc b/recipes-bsp/iqn2-lld/iqn2-lld.inc
new file mode 100644
index 0000000..a871c5c
--- /dev/null
+++ b/recipes-bsp/iqn2-lld/iqn2-lld.inc
@@ -0,0 +1,13 @@
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5bdceac872dffdec915b819654ee23ea"
+LICENSE = "BSD-3-Clause"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/keystone-rtos/iqn2-lld.git;destsuffix=git/ti/drv/iqn2;protocol=git;branch=${BRANCH}"
+# Following commit corresponds to DEV.IQN_LLD.01.00.00.05B
+SRCREV = "ca35079f41d06259be39f992f55a9f815d305ef5"
+
+PV = "1.0.0.5"
+
+COMPATIBLE_MACHINE = "keystone"
+
+S = "${WORKDIR}/git/ti/drv/iqn2"
diff --git a/recipes-bsp/iqn2-lld/iqn2-lld_git.bb b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
new file mode 100644
index 0000000..19ffc05
--- /dev/null
+++ b/recipes-bsp/iqn2-lld/iqn2-lld_git.bb
@@ -0,0 +1,16 @@
+DESCRIPTION = "TI IQN2 peripheral module low level driver"
+
+DEPENDS = "common-csl-ip"
+
+include iqn2-lld.inc
+
+EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
+
+do_compile () {
+ oe_runmake clean
+ oe_runmake lib
+}
+
+do_install () {
+ oe_runmake install INSTALL_INC_BASE_DIR=${D}/${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+}
--
1.7.9.5
More information about the meta-ti
mailing list