- Adds test code for iqn2 peripheral low level driver
Signed-off-by: Sam Nelson <[email protected]>
---
recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 recipes-bsp/iqn2-lld/iqn2-lld-test_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}
+}
--
1.7.9.5
--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti