1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-06-06 02:42:34 +00:00

nwal-lld: Add recipes for Network abstraction layer low level driver and test code

- Provide Network abstraction layer for keystone devices.
- Supports k2h, k2k, k2l & k2e devices.

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Sam Nelson
2015-01-22 11:25:16 +00:00
committed by Denys Dmytriyenko
parent ef55116901
commit 82da11cf23
3 changed files with 68 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
DESCRIPTION = "TI Network Abstraction Layer unit test binaries"
DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib nwal-lld"
include nwal-lld.inc
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
oe_runmake tests NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake installbin INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
done
}
+18
View File
@@ -0,0 +1,18 @@
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
COMPATIBLE_MACHINE = "keystone"
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.01.00.04A"
SRCREV = "099a9191e642c7732760078bf5af1e3c6ca0197b"
PV = "02.01.00.04"
BASEDIR = "${WORKDIR}/git"
S = "${BASEDIR}/ti/drv/nwal"
DEVICELIST = "k2h k2k k2l k2e"
CHOICELIST = "yes no"
+25
View File
@@ -0,0 +1,25 @@
DESCRIPTION = "TI Network abstraction layer LLD library "
DEPENDS = "common-csl-ip rm-lld qmss-lld hplib pa-lld sa-lld pktlib"
include nwal-lld.inc
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake clean NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
oe_runmake lib NWAL_INC_DIR=${BASEDIR} NWAL_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" DEVICE="$device"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device"
done
}