Skip to contentSkip to conversation

ti-nwal: provides ti nwal library for KeyStone devices

PATCH New Aravind Batni 1 participant 1 message Mar 4, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ti-nwal: provides ti nwal library for KeyStone devices

-TI network adaptation layer library

---
 .../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
meta-arago-extras/recipes-bsp/ti-nwal/ti-nwal_git.bb new file +33 -0
new file mode 100644
index 0000000..2b17c9d
@@ -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}
+}
Signature · 1 line
1.7.9.5