diff options
author | Denys Dmytriyenko <denys@ti.com> | 2018-03-03 08:45:53 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2018-03-04 22:51:30 -0500 |
commit | 76ff9d7182fae1eace53c98a07904a95c1078b4e (patch) | |
tree | 351fb09f0017a00163a6a79ea340e42a8b50f90b /recipes-ti | |
parent | 445ca289ea1ec6cafcedfc95ad19f05efc4a7804 (diff) | |
download | meta-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.bb | 51 | ||||
-rw-r--r-- | recipes-ti/netapi/netapi.inc | 33 | ||||
-rw-r--r-- | recipes-ti/netapi/netapi_git.bb | 32 |
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 @@ | |||
1 | DESCRIPTION = "Provides test and application binaries using NETAPI module" | ||
2 | |||
3 | DEPENDS = "netapi ipsecmgr" | ||
4 | |||
5 | include netapi.inc | ||
6 | |||
7 | PR = "${INC_PR}.1" | ||
8 | |||
9 | EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
10 | |||
11 | do_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 | |||
33 | do_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 @@ | |||
1 | LICENSE = "BSD-3-Clause" | ||
2 | LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING.txt;md5=f2b4f162358b1ffaf3f2307287ca2074" | ||
3 | |||
4 | COMPATIBLE_MACHINE = "keystone" | ||
5 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
6 | |||
7 | DEBIAN_NOAUTONAME_${PN} = "1" | ||
8 | DEBIAN_NOAUTONAME_${PN}-dev = "1" | ||
9 | DEBIAN_NOAUTONAME_${PN}-dbg = "1" | ||
10 | DEBIAN_NOAUTONAME_${PN}-staticdev = "1" | ||
11 | |||
12 | NETAPI_GIT_URI = "git://git.ti.com/keystone-rtos/netapi.git" | ||
13 | NETAPI_GIT_PROTOCOL = "git" | ||
14 | NETAPI_GIT_BRANCH = "master" | ||
15 | |||
16 | # Below Commit ID corresponds to "DEV.NETAPI.01.01.00.07" | ||
17 | NETAPI_SRCREV = "50026020384737d253668c4be80745a3653106f8" | ||
18 | |||
19 | BRANCH = "${NETAPI_GIT_BRANCH}" | ||
20 | SRC_URI = "${NETAPI_GIT_URI};protocol=${NETAPI_GIT_PROTOCOL};branch=${BRANCH}" | ||
21 | SRCREV = "${NETAPI_SRCREV}" | ||
22 | |||
23 | PV = "01.01.00.07" | ||
24 | INC_PR = "r0" | ||
25 | |||
26 | DEVICELIST_k2hk = "k2h k2k" | ||
27 | DEVICELIST_k2l-evm = "k2l" | ||
28 | DEVICELIST_k2e = "k2e" | ||
29 | |||
30 | CHOICELIST = "yes no" | ||
31 | |||
32 | BASEDIR = "${WORKDIR}/git" | ||
33 | S = "${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 @@ | |||
1 | DESCRIPTION = "Provides NETAPI module: TI user space network library" | ||
2 | |||
3 | DEPENDS = "common-csl-ip rm-lld qmss-lld cppi-lld sa-lld hplib pktlib nwal-lld" | ||
4 | |||
5 | include netapi.inc | ||
6 | |||
7 | PR = "${INC_PR}.1" | ||
8 | |||
9 | EXTRA_OEMAKE = "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
10 | |||
11 | do_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 | |||
25 | do_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 | } | ||