-TI network adaptation layer library
Signed-off-by: Aravind Batni <[email protected]>
---
.../recipes-bsp/ti-nwal/ti-nwal_git.bb | 33 ++++++++++++++++++++
1 file changed, 33 insertions(+)
create mode 100644 meta-arago-extras/recipes-bsp/ti-nwal/ti-nwal_git.bb
diff --git a/meta-arago-extras/recipes-bsp/ti-nwal/ti-nwal_git.bb
b/meta-arago-extras/recipes-bsp/ti-nwal/ti-nwal_git.bb
new file mode 100644
index 0000000..2b17c9d
--- /dev/null
+++ b/meta-arago-extras/recipes-bsp/ti-nwal/ti-nwal_git.bb
@@ -0,0 +1,33 @@
+DESCRIPTION = "TI NWAL"
+LICENSE = "TI BSD"
+LIC_FILES_CHKSUM =
"file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
+
+BRANCH="master"
+SRC_URI =
"git://git.ti.com/keystone-rtos/nwal-lld.git;protocol=git;branch=${BRANCH}"
+# Below commit ID corresponds to DEV.NWAL.02.00.00.14
+SRCREV = "2152430bc35c34b74784e401a90b82e993bc03c7"
+PR = "r0"
+PV = "02.00.00.14"
+
+COMPATIBLE_MACHINE = "keystone"
+
+DEPENDS="ti-csl ti-rm ti-qmss-lib ti-hplib-lib ti-pa-lib ti-sa ti-pktlib"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/*Test*"
+
+CHOICELIST = "yes no"
+
+BASEDIR = "${WORKDIR}/git"
+S = "${BASEDIR}/ti/drv/nwal"
+
+do_compile () {
+ for choice in ${CHOICELIST}
+ do
+ make -f makefile_armv7 clean lib tests
PDK_INSTALL_PATH=${STAGING_INCDIR} NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S}
USEDYNAMIC_LIB="$choice"
+ done
+}
+
+do_install () {
+ make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR}
INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
INSTALL_BIN_BASE_DIR=${D}${bindir}
+}
--
1.7.9.5
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago