1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 11:42:57 +00:00
Files
meta-ti/recipes-bsp/cppi-lld/cppi-lld-test_git.bb
Sam Nelson 2a3575bd28 cppi-lld: Add new recipe for CPPI Module low level driver
- Provides low level driver and test code for Communications port programming
  interface module
- Supports k2h, k2k, k2l k2e devices

Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2014-12-18 12:42:45 -05:00

27 lines
781 B
BlitzBasic
Executable File

DESCRIPTION = "TI CPPI low level driver unit test and example binaries"
COMPATIBLE_MACHINE = "keystone"
DEPENDS = "common-csl-ip rm-lld cppi-lld qmss-lld"
include cppi-lld.inc
CHOICELIST = "yes no"
do_compile () {
# Now build the lld in the updated directory
for device in ${DEVICELIST}
do
make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S}
for choice in ${CHOICELIST}
do
make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} USEDYNAMIC_LIB="$choice"
done
done
}
do_install () {
for device in ${DEVICELIST}
do
make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" CPPI_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir}
done
}