[meta-ti] Jacob Stiffler : netapi: Only build binaries relevent to the machine

Arago Project git git at arago-project.org
Mon Feb 1 14:09:03 PST 2016


Module: meta-ti
Branch: fido
Commit: 86d9d577b75143acb21d104e37221fa7bad73e50
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=86d9d577b75143acb21d104e37221fa7bad73e50

Author: Jacob Stiffler <j-stiffler at ti.com>
Date:   Sat Jan 30 01:38:08 2016 +0000

netapi: Only build binaries relevent to the machine

Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 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(-)

diff --git a/recipes-ti/netapi/netapi-test_git.bb b/recipes-ti/netapi/netapi-test_git.bb
index 1347d34..3b7825c 100644
--- a/recipes-ti/netapi/netapi-test_git.bb
+++ b/recipes-ti/netapi/netapi-test_git.bb
@@ -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}"
 
diff --git a/recipes-ti/netapi/netapi.inc b/recipes-ti/netapi/netapi.inc
index e497b1a..0e7b04b 100644
--- a/recipes-ti/netapi/netapi.inc
+++ b/recipes-ti/netapi/netapi.inc
@@ -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"
 
diff --git a/recipes-ti/netapi/netapi_git.bb b/recipes-ti/netapi/netapi_git.bb
index 298a86f..4427ecc 100644
--- a/recipes-ti/netapi/netapi_git.bb
+++ b/recipes-ti/netapi/netapi_git.bb
@@ -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}"
 



More information about the meta-ti mailing list