summaryrefslogtreecommitdiffstats
path: root/recipes-ti
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2018-03-03 08:45:53 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-03-04 22:51:30 -0500
commit76ff9d7182fae1eace53c98a07904a95c1078b4e (patch)
tree351fb09f0017a00163a6a79ea340e42a8b50f90b /recipes-ti
parent445ca289ea1ec6cafcedfc95ad19f05efc4a7804 (diff)
downloadmeta-ti-76ff9d7182fae1eace53c98a07904a95c1078b4e.tar.gz
netapi: remove due to external ipsecmgr dependency
Moved to meta-arago Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
-rw-r--r--recipes-ti/netapi/netapi-test_git.bb51
-rw-r--r--recipes-ti/netapi/netapi.inc33
-rw-r--r--recipes-ti/netapi/netapi_git.bb32
3 files changed, 0 insertions, 116 deletions
diff --git a/recipes-ti/netapi/netapi-test_git.bb b/recipes-ti/netapi/netapi-test_git.bb
deleted file mode 100644
index 3b7825c9..00000000
--- a/recipes-ti/netapi/netapi-test_git.bb
+++ /dev/null
@@ -1,51 +0,0 @@
1DESCRIPTION = "Provides test and application binaries using NETAPI module"
2
3DEPENDS = "netapi ipsecmgr"
4
5include netapi.inc
6
7PR = "${INC_PR}.1"
8
9EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
10
11do_compile () {
12# Build the netapi binaries
13 for device in ${DEVICELIST}
14 do
15 for choice in ${CHOICELIST}
16 do
17 oe_runmake -f makefile_armv7 tests NETAPI_SRC_DIR=${S} NETAPI_INC_DIR=${BASEDIR} \
18 USEDYNAMIC_LIB="$choice" DEVICE="$device"
19 done
20
21# Now build the netapi appplications
22 cd ${S}/applications/ipsec_offload/ipsecmgr/build
23 oe_runmake clean NETAPI_SRC_DIR=${S} DEVICE="$device"
24 oe_runmake app NETAPI_SRC_DIR=${S} DEVICE="$device"
25
26 cd ${S}/applications/ipsec_offload/config-app/build
27 oe_runmake clean DEVICE="$device"
28 oe_runmake app DEVICE="$device"
29 cd ${S}
30 done
31}
32
33do_install () {
34 for device in ${DEVICELIST}
35 do
36 oe_runmake -f makefile_armv7 installbin INSTALL_INC_BASE_DIR=${D}/${includedir} \
37 INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} \
38 SYSCONFDIR=${D}${sysconfdir} DEVICE="$device"
39
40 cd ${S}/applications/ipsec_offload/ipsecmgr/build
41 oe_runmake install \
42 INSTALL_BIN_BASE_DIR=${D}${bindir} SYSCONFDIR=${D}${sysconfdir} \
43 DEVICE="$device"
44
45 cd ${S}/applications/ipsec_offload/config-app/build
46 oe_runmake install \
47 INSTALL_BIN_BASE_DIR=${D}${bindir} SYSCONFDIR=${D}${sysconfdir} \
48 DEVICE="$device"
49 cd ${S}
50 done
51}
diff --git a/recipes-ti/netapi/netapi.inc b/recipes-ti/netapi/netapi.inc
deleted file mode 100644
index 83fb6aa4..00000000
--- a/recipes-ti/netapi/netapi.inc
+++ /dev/null
@@ -1,33 +0,0 @@
1LICENSE = "BSD-3-Clause"
2LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=f2b4f162358b1ffaf3f2307287ca2074"
3
4COMPATIBLE_MACHINE = "keystone"
5PACKAGE_ARCH = "${MACHINE_ARCH}"
6
7DEBIAN_NOAUTONAME_${PN} = "1"
8DEBIAN_NOAUTONAME_${PN}-dev = "1"
9DEBIAN_NOAUTONAME_${PN}-dbg = "1"
10DEBIAN_NOAUTONAME_${PN}-staticdev = "1"
11
12NETAPI_GIT_URI = "git://git.ti.com/keystone-rtos/netapi.git"
13NETAPI_GIT_PROTOCOL = "git"
14NETAPI_GIT_BRANCH = "master"
15
16# Below Commit ID corresponds to "DEV.NETAPI.01.01.00.07"
17NETAPI_SRCREV = "50026020384737d253668c4be80745a3653106f8"
18
19BRANCH = "${NETAPI_GIT_BRANCH}"
20SRC_URI = "${NETAPI_GIT_URI};protocol=${NETAPI_GIT_PROTOCOL};branch=${BRANCH}"
21SRCREV = "${NETAPI_SRCREV}"
22
23PV = "01.01.00.07"
24INC_PR = "r0"
25
26DEVICELIST_k2hk = "k2h k2k"
27DEVICELIST_k2l-evm = "k2l"
28DEVICELIST_k2e = "k2e"
29
30CHOICELIST = "yes no"
31
32BASEDIR = "${WORKDIR}/git"
33S = "${BASEDIR}/ti/runtime/netapi"
diff --git a/recipes-ti/netapi/netapi_git.bb b/recipes-ti/netapi/netapi_git.bb
deleted file mode 100644
index 4427ecc2..00000000
--- a/recipes-ti/netapi/netapi_git.bb
+++ /dev/null
@@ -1,32 +0,0 @@
1DESCRIPTION = "Provides NETAPI module: TI user space network library"
2
3DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld sa-lld hplib pktlib nwal-lld"
4
5include netapi.inc
6
7PR = "${INC_PR}.1"
8
9EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}"
10
11do_compile () {
12# Now build the netapi
13 for device in ${DEVICELIST}
14 do
15 for choice in ${CHOICELIST}
16 do
17 oe_runmake clean NETAPI_SRC_DIR=${S} NETAPI_INC_DIR=${BASEDIR} \
18 USEDYNAMIC_LIB="$choice" DEVICE="$device"
19 oe_runmake lib NETAPI_SRC_DIR=${S} NETAPI_INC_DIR=${BASEDIR} \
20 USEDYNAMIC_LIB="$choice" DEVICE="$device"
21 done
22 done
23}
24
25do_install () {
26 for device in ${DEVICELIST}
27 do
28 oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \
29 INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} \
30 SYSCONFDIR=${D}${sysconfdir} DEVICE="$device"
31 done
32}