Skip to contentSkip to conversation

netapi: Use INC_PR

PATCH New Jacob Stiffler 1 participant 2 messages Jan 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 netapi: Use INC_PR

---
 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
index 9d49c29..1347d34 100644
@@ -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
index f7e5393..e497b1a 100644
@@ -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
index d88e95a..298a86f 100644
@@ -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
#1 lore raw

PATCH 2/2 netapi: Only build binaries relevent to the machine

---
 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
index 1347d34..3b7825c 100644
@@ -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
index e497b1a..0e7b04b 100644
@@ -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
index 298a86f..4427ecc 100644
@@ -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