mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-17 18:19:37 +00:00
pktlib: Clean up recipe
Signed-off-by: Justin Sobota <jsobota@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
committed by
Denys Dmytriyenko
parent
3b233d5b7d
commit
d0cc24a3de
24
recipes-bsp/pktlib/pktlib.inc
Normal file
24
recipes-bsp/pktlib/pktlib.inc
Normal file
@@ -0,0 +1,24 @@
|
||||
DESCRIPTION = "Provides library for handling packet descriptors for keystone devices"
|
||||
LICENSE = "BSD-3-Clause"
|
||||
LIC_FILES_CHKSUM = "file://docs/Doxyfile;md5=91d01dc3788e1f405f000b2089191a0a"
|
||||
|
||||
COMPATIBLE_MACHINE = "keystone"
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
|
||||
PKTLIB_GIT_PROTOCOL = "git"
|
||||
PKTLIB_GIT_BRANCH = "master"
|
||||
PKTLIB_GIT_DESTSUFFIX = "git/ti/runtime/pktlib"
|
||||
|
||||
# Below commit ID corresponds to "DEV.PKTLIB.2.1.0.7"
|
||||
PKTLIB_SRCREV = "22f66931964c25f83d1971f7eb78902d10c17d8a"
|
||||
|
||||
BRANCH = "${PKTLIB_GIT_BRANCH}"
|
||||
# Don't use DESTSUFFIX when cloning since repo contains ti/runtime/pktlib directory tree
|
||||
SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
|
||||
SRCREV = "${PKTLIB_SRCREV}"
|
||||
PV = "2.1.0.7"
|
||||
INC_PR = "r2"
|
||||
|
||||
S = "${WORKDIR}/${PKTLIB_GIT_DESTSUFFIX}"
|
||||
@@ -1,25 +1,11 @@
|
||||
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"
|
||||
|
||||
PKTLIB_GIT_URI = "git://git.ti.com/keystone-rtos/pktlib.git"
|
||||
PKTLIB_GIT_PROTOCOL = "git"
|
||||
PKTLIB_GIT_BRANCH = "master"
|
||||
include pktlib.inc
|
||||
|
||||
# Corresponds to DEV.PKTLIB.2.1.0.7
|
||||
PKTLIB_SRCREV = "22f66931964c25f83d1971f7eb78902d10c17d8a"
|
||||
|
||||
BRANCH = "${PKTLIB_GIT_BRANCH}"
|
||||
SRC_URI = "${PKTLIB_GIT_URI};protocol=${PKTLIB_GIT_PROTOCOL};branch=${BRANCH}"
|
||||
SRCREV = "${PKTLIB_SRCREV}"
|
||||
|
||||
PV = "2.1.0.7"
|
||||
PR = "r0"
|
||||
|
||||
S = "${WORKDIR}/git/ti/runtime/pktlib"
|
||||
PR = "${INC_PR}.1"
|
||||
|
||||
EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user