1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-07-16 14:27:48 +00:00
Files
Jacob Stiffler 86d9d577b7 netapi: Only build binaries relevent to the machine
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2016-02-01 17:07:32 -05:00

33 lines
858 B
BlitzBasic

DESCRIPTION = "Provides NETAPI module: TI user space network library"
DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld sa-lld hplib pktlib nwal-lld"
include netapi.inc
PR = "${INC_PR}.1"
EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
do_compile () {
# Now build the netapi
for device in ${DEVICELIST}
do
for choice in ${CHOICELIST}
do
oe_runmake clean NETAPI_SRC_DIR=${S} NETAPI_INC_DIR=${BASEDIR} \
USEDYNAMIC_LIB="$choice" DEVICE="$device"
oe_runmake lib NETAPI_SRC_DIR=${S} NETAPI_INC_DIR=${BASEDIR} \
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} \
SYSCONFDIR=${D}${sysconfdir} DEVICE="$device"
done
}