[meta-ti] [PATCH] pktlib: Adds recipe for pklib component

Sam Nelson sam.nelson at ti.com
Wed Jan 7 11:53:37 PST 2015


- pktlib: provides library for handling packet descriptor for keystone devices

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-bsp/pktlib/pktlib_git.bb |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 recipes-bsp/pktlib/pktlib_git.bb

diff --git a/recipes-bsp/pktlib/pktlib_git.bb b/recipes-bsp/pktlib/pktlib_git.bb
new file mode 100644
index 0000000..8cd43d9
--- /dev/null
+++ b/recipes-bsp/pktlib/pktlib_git.bb
@@ -0,0 +1,25 @@
+DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462"
+
+DEPENDS="common-csl-ip rm-lld qmss-lld cppi-lld"
+COMPATIBLE_MACHINE = "keystone"
+
+BRANCH = "master"
+SRC_URI = "git://git.ti.com/keystone-rtos/pktlib.git;protocol=git;branch=${BRANCH}"
+
+# Corresponds to DEV.PKTLIB.2.1.0.4
+SRCREV = "a9aa56afed54b0a04f36d2fdb248cad5dcac6ff6"
+PV = "2.1.0.4"
+PR = "r0"
+
+S = "${WORKDIR}/git//ti/runtime/pktlib"
+
+do_compile () {
+#   Now build the pktlib in the updated directory
+    make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install () {
+    make -f makefile_armv7 install PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}
+}
-- 
1.7.9.5



More information about the meta-ti mailing list