[meta-ti] Sam Nelson : iqn2-lld: Add recipe for iqn2 lld test code

Arago Project git git at arago-project.org
Thu Feb 19 13:46:10 PST 2015


Module: meta-ti
Branch: master
Commit: df0547480218a5f7688243010a769788703b7d85
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=df0547480218a5f7688243010a769788703b7d85

Author: Sam Nelson <sam.nelson at ti.com>
Date:   Wed Feb 11 03:28:10 2015 +0000

iqn2-lld: Add recipe for iqn2 lld test code

- Adds test code for iqn2 peripheral low level driver

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 recipes-bsp/iqn2-lld/iqn2-lld-test_git.bb |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

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}
+}



More information about the meta-ti mailing list