summaryrefslogtreecommitdiffstats
path: root/recipes-extended/dpdk
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-02 11:01:05 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-12 10:08:24 -0700
commit59d36c9832702989bfcca8a5af29fb2dff01efcc (patch)
treeb2b07d98cb22bc5241cde7403b6a15d99821318e /recipes-extended/dpdk
parent72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff)
downloadmeta-freescale-59d36c9832702989bfcca8a5af29fb2dff01efcc.tar.gz
layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-extended/dpdk')
-rw-r--r--recipes-extended/dpdk/dpdk.inc30
-rw-r--r--recipes-extended/dpdk/dpdk_19.11-20.12.bb2
2 files changed, 16 insertions, 16 deletions
diff --git a/recipes-extended/dpdk/dpdk.inc b/recipes-extended/dpdk/dpdk.inc
index 61c02ae7..f4c932ea 100644
--- a/recipes-extended/dpdk/dpdk.inc
+++ b/recipes-extended/dpdk/dpdk.inc
@@ -1,25 +1,25 @@
1DESCRIPTION = "Data Plane Development Kit" 1DESCRIPTION = "Data Plane Development Kit"
2HOMEPAGE = "http://dpdk.org" 2HOMEPAGE = "http://dpdk.org"
3 3
4RDEPENDS_${PN} += "python3-core" 4RDEPENDS:${PN} += "python3-core"
5DEPENDS = "virtual/kernel openssl" 5DEPENDS = "virtual/kernel openssl"
6DEPENDS_append_x86-64 = " numactl" 6DEPENDS:append:x86-64 = " numactl"
7do_configure[depends] += "virtual/kernel:do_shared_workdir" 7do_configure[depends] += "virtual/kernel:do_shared_workdir"
8 8
9inherit module 9inherit module
10 10
11COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux' 11COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux'
12COMPATIBLE_HOST_libc-musl = 'null' 12COMPATIBLE_HOST:libc-musl = 'null'
13COMPATIBLE_HOST_armv4 = 'null' 13COMPATIBLE_HOST:armv4 = 'null'
14COMPATIBLE_HOST_armv5 = 'null' 14COMPATIBLE_HOST:armv5 = 'null'
15COMPATIBLE_HOST_armv6 = 'null' 15COMPATIBLE_HOST:armv6 = 'null'
16 16
17COMPATIBLE_MACHINE = "(imx|qoriq)" 17COMPATIBLE_MACHINE = "(imx|qoriq)"
18 18
19DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc" 19DPDK_RTE_TARGET:x86-64 = "x86_64-native-linuxapp-gcc"
20DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc" 20DPDK_RTE_TARGET:x86 = "i686-native-linuxapp-gcc"
21DPDK_RTE_TARGET_armv7a = "${ARCH}-armv7a-linuxapp-gcc" 21DPDK_RTE_TARGET:armv7a = "${ARCH}-armv7a-linuxapp-gcc"
22DPDK_RTE_TARGET_armv7ve = "${ARCH}-armv7a-linuxapp-gcc" 22DPDK_RTE_TARGET:armv7ve = "${ARCH}-armv7a-linuxapp-gcc"
23DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc" 23DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc"
24 24
25export RTE_TARGET = "${DPDK_RTE_TARGET}" 25export RTE_TARGET = "${DPDK_RTE_TARGET}"
@@ -93,13 +93,13 @@ do_install () {
93 93
94PACKAGES += "${PN}-examples" 94PACKAGES += "${PN}-examples"
95 95
96FILES_${PN}-dbg += " \ 96FILES:${PN}-dbg += " \
97 ${datadir}/dpdk/.debug \ 97 ${datadir}/dpdk/.debug \
98 ${datadir}/dpdk/examples/*/.debug \ 98 ${datadir}/dpdk/examples/*/.debug \
99 " 99 "
100FILES_${PN}-staticdev += "${datadir}/dpdk/cmdif/lib/*.a \ 100FILES:${PN}-staticdev += "${datadir}/dpdk/cmdif/lib/*.a \
101" 101"
102FILES_${PN}-dev += " \ 102FILES:${PN}-dev += " \
103 ${datadir}/dpdk/${RTE_TARGET}/.config \ 103 ${datadir}/dpdk/${RTE_TARGET}/.config \
104 ${includedir} \ 104 ${includedir} \
105 ${includedir}/exec-env \ 105 ${includedir}/exec-env \
@@ -109,11 +109,11 @@ FILES_${PN}-dev += " \
109 ${datadir}/dpdk/mk \ 109 ${datadir}/dpdk/mk \
110 " 110 "
111 111
112FILES_${PN} += " ${datadir}/ \ 112FILES:${PN} += " ${datadir}/ \
113 ${prefix}/sbin/ \ 113 ${prefix}/sbin/ \
114 ${prefix}/bin/ \ 114 ${prefix}/bin/ \
115 ${libdir}/ \ 115 ${libdir}/ \
116 " 116 "
117FILES_${PN}-examples += " \ 117FILES:${PN}-examples += " \
118 ${datadir}/examples/* \ 118 ${datadir}/examples/* \
119 " 119 "
diff --git a/recipes-extended/dpdk/dpdk_19.11-20.12.bb b/recipes-extended/dpdk/dpdk_19.11-20.12.bb
index 426713c2..37582124 100644
--- a/recipes-extended/dpdk/dpdk_19.11-20.12.bb
+++ b/recipes-extended/dpdk/dpdk_19.11-20.12.bb
@@ -13,7 +13,7 @@ SRCREV = "7071c27f6f5aefb57de1cffab3484707b1e82e2b"
13 13
14include dpdk.inc 14include dpdk.inc
15 15
16do_install_append () { 16do_install:append () {
17 # Remove the unneeded dir 17 # Remove the unneeded dir
18 rm -rf ${D}/${datadir}/${RTE_TARGET}/app 18 rm -rf ${D}/${datadir}/${RTE_TARGET}/app
19} 19}