From ca6a156ea89a1632cf3d97dafece66ea26784894 Mon Sep 17 00:00:00 2001 From: Sam Nelson Date: Sat, 10 Jan 2015 09:07:09 +0000 Subject: hplib: Add recipe for TI high performance library - Provides high performance library, kernel module, user space libraries and test binaries - Supports devices k2h, k2k, k2l & k2e Signed-off-by: Sam Nelson Signed-off-by: Denys Dmytriyenko --- recipes-bsp/hplib/hplib_git.bb | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 recipes-bsp/hplib/hplib_git.bb (limited to 'recipes-bsp/hplib/hplib_git.bb') diff --git a/recipes-bsp/hplib/hplib_git.bb b/recipes-bsp/hplib/hplib_git.bb new file mode 100644 index 00000000..fbb3004c --- /dev/null +++ b/recipes-bsp/hplib/hplib_git.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "TI High performance libraries" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" + +DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib" + +include hplib.inc + +CHOICELIST = "yes no" + +S = "${WORKDIR}/git/ti/runtime/hplib" + +EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" + +do_compile () { + for device in ${DEVICELIST} + do + for choice in ${CHOICELIST} + do + oe_runmake lib HPLIB_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 +} -- cgit v1.2.3-54-g00ecf