pktlib: Adds recipe for pklib component
PATCH 1/1 pktlib: Adds recipe for pklib component
- pktlib: provides library for handling packet descriptor for keystone devices
Signed-off-by Sam Nelson <[email protected]>
--- recipes-bsp/pktlib/pktlib_git.bb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 recipes-bsp/pktlib/pktlib_git.bb
recipes-bsp/pktlib/pktlib_git.bb new file +25 -0
@@ -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} +}
Signature · 1 line
1.7.9.5
Quoted 21 lines · Sam Nelson
- pktlib: provides library for handling packet descriptor for keystone devices
Signed-off-by Sam Nelson <[email protected]>---
recipes-bsp/pktlib/pktlib_git.bb | 25 +++++++++++++++++++++++++1 file changed, 25 insertions(+)create mode 100644 recipes-bsp/pktlib/pktlib_git.bb
recipes-bsp/pktlib/pktlib_git.bb new file +4
-0@@ -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" +
recipes-bsp/pktlib/pktlib_git.bb line 14
Quoted 10 lines
recipes-bsp/pktlib/pktlib_git.bb new file +10
-0+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"
drop PR
recipes-bsp/pktlib/pktlib_git.bb line 16
Quoted 2 lines
recipes-bsp/pktlib/pktlib_git.bb new file +2
-0+ +S = "${WORKDIR}/git//ti/runtime/pktlib”
^^
get rid of double slash
recipes-bsp/pktlib/pktlib_git.bb line 25
Quoted 9 lines
recipes-bsp/pktlib/pktlib_git.bb new file +9
-0+ +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} +}
you might want to use oe_runmake and EXTRA_OEMAKE to accommodate the above make calls.
Quoted 8 lines
Signature · 7 lines
1.7.9.5 -- _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti