netapi: Use INC_PR
PATCH 1/2 netapi: Use INC_PR
Signed-off-by Jacob Stiffler <[email protected]>
--- recipes-ti/netapi/netapi-test_git.bb | 2 ++ recipes-ti/netapi/netapi.inc | 2 +- recipes-ti/netapi/netapi_git.bb | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-)
recipes-ti/netapi/netapi-test_git.bb +2 -0
@@ -4,6 +4,8 @@ DEPENDS = "netapi ipsecmgr" include netapi.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
recipes-ti/netapi/netapi.inc +1 -1
@@ -7,7 +7,7 @@ SRC_URI = "git://git.ti.com/keystone-rtos/netapi.git;protocol=git;branch=${BRANC # Below Commit ID corresponds to "DEV.NETAPI.01.01.00.06" SRCREV = "8180b61615965954eaaedc26053f9a8939d9a273" PV = "01.01.00.06" -PR = "r1" +INC_PR = "r2" DEVICELIST = "k2h k2k k2l k2e"
recipes-ti/netapi/netapi_git.bb +2 -0
@@ -6,6 +6,8 @@ DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld sa-lld hplib pktlib nwal-lld" include netapi.inc +PR = "${INC_PR}.0" + EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () {
Signature · 1 line
1.9.1
PATCH 2/2 netapi: Only build binaries relevent to the machine
Signed-off-by Jacob Stiffler <[email protected]>
--- recipes-ti/netapi/netapi-test_git.bb | 4 ++-- recipes-ti/netapi/netapi.inc | 9 +++++++-- recipes-ti/netapi/netapi_git.bb | 4 +--- 3 files changed, 10 insertions(+), 7 deletions(-)
recipes-ti/netapi/netapi-test_git.bb +2 -2
@@ -1,10 +1,10 @@ DESCRIPTION = "Provides test and application binaries using NETAPI module" -COMPATIBLE_MACHINE = "keystone" + DEPENDS = "netapi ipsecmgr" include netapi.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
recipes-ti/netapi/netapi.inc +7 -2
@@ -1,15 +1,20 @@ LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=f2b4f162358b1ffaf3f2307287ca2074" +COMPATIBLE_MACHINE = "keystone" +PACKAGE_ARCH = "${MACHINE_ARCH}" + BRANCH = "master" SRC_URI = "git://git.ti.com/keystone-rtos/netapi.git;protocol=git;branch=${BRANCH}" # Below Commit ID corresponds to "DEV.NETAPI.01.01.00.06" SRCREV = "8180b61615965954eaaedc26053f9a8939d9a273" PV = "01.01.00.06" -INC_PR = "r2" +INC_PR = "r3" -DEVICELIST = "k2h k2k k2l k2e" +DEVICELIST_k2hk-evm = "k2h k2k" +DEVICELIST_k2l-evm = "k2l" +DEVICELIST_k2e-evm = "k2e" CHOICELIST = "yes no"
recipes-ti/netapi/netapi_git.bb +1 -3
@@ -1,12 +1,10 @@ DESCRIPTION = "Provides NETAPI module: TI user space network library" -COMPATIBLE_MACHINE = "keystone" - DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld sa-lld hplib pktlib nwal-lld" include netapi.inc -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
Signature · 1 line
1.9.1