diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-08-02 11:01:05 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-08-12 10:08:24 -0700 |
commit | 59d36c9832702989bfcca8a5af29fb2dff01efcc (patch) | |
tree | b2b07d98cb22bc5241cde7403b6a15d99821318e /recipes-extended/dpdk | |
parent | 72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff) | |
download | meta-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.inc | 30 | ||||
-rw-r--r-- | recipes-extended/dpdk/dpdk_19.11-20.12.bb | 2 |
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 @@ | |||
1 | DESCRIPTION = "Data Plane Development Kit" | 1 | DESCRIPTION = "Data Plane Development Kit" |
2 | HOMEPAGE = "http://dpdk.org" | 2 | HOMEPAGE = "http://dpdk.org" |
3 | 3 | ||
4 | RDEPENDS_${PN} += "python3-core" | 4 | RDEPENDS:${PN} += "python3-core" |
5 | DEPENDS = "virtual/kernel openssl" | 5 | DEPENDS = "virtual/kernel openssl" |
6 | DEPENDS_append_x86-64 = " numactl" | 6 | DEPENDS:append:x86-64 = " numactl" |
7 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | 7 | do_configure[depends] += "virtual/kernel:do_shared_workdir" |
8 | 8 | ||
9 | inherit module | 9 | inherit module |
10 | 10 | ||
11 | COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux' | 11 | COMPATIBLE_HOST = '(aarch64|arm|i.86|x86_64).*-linux' |
12 | COMPATIBLE_HOST_libc-musl = 'null' | 12 | COMPATIBLE_HOST:libc-musl = 'null' |
13 | COMPATIBLE_HOST_armv4 = 'null' | 13 | COMPATIBLE_HOST:armv4 = 'null' |
14 | COMPATIBLE_HOST_armv5 = 'null' | 14 | COMPATIBLE_HOST:armv5 = 'null' |
15 | COMPATIBLE_HOST_armv6 = 'null' | 15 | COMPATIBLE_HOST:armv6 = 'null' |
16 | 16 | ||
17 | COMPATIBLE_MACHINE = "(imx|qoriq)" | 17 | COMPATIBLE_MACHINE = "(imx|qoriq)" |
18 | 18 | ||
19 | DPDK_RTE_TARGET_x86-64 = "x86_64-native-linuxapp-gcc" | 19 | DPDK_RTE_TARGET:x86-64 = "x86_64-native-linuxapp-gcc" |
20 | DPDK_RTE_TARGET_x86 = "i686-native-linuxapp-gcc" | 20 | DPDK_RTE_TARGET:x86 = "i686-native-linuxapp-gcc" |
21 | DPDK_RTE_TARGET_armv7a = "${ARCH}-armv7a-linuxapp-gcc" | 21 | DPDK_RTE_TARGET:armv7a = "${ARCH}-armv7a-linuxapp-gcc" |
22 | DPDK_RTE_TARGET_armv7ve = "${ARCH}-armv7a-linuxapp-gcc" | 22 | DPDK_RTE_TARGET:armv7ve = "${ARCH}-armv7a-linuxapp-gcc" |
23 | DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc" | 23 | DPDK_RTE_TARGET ?= "${ARCH}-dpaa-linuxapp-gcc" |
24 | 24 | ||
25 | export RTE_TARGET = "${DPDK_RTE_TARGET}" | 25 | export RTE_TARGET = "${DPDK_RTE_TARGET}" |
@@ -93,13 +93,13 @@ do_install () { | |||
93 | 93 | ||
94 | PACKAGES += "${PN}-examples" | 94 | PACKAGES += "${PN}-examples" |
95 | 95 | ||
96 | FILES_${PN}-dbg += " \ | 96 | FILES:${PN}-dbg += " \ |
97 | ${datadir}/dpdk/.debug \ | 97 | ${datadir}/dpdk/.debug \ |
98 | ${datadir}/dpdk/examples/*/.debug \ | 98 | ${datadir}/dpdk/examples/*/.debug \ |
99 | " | 99 | " |
100 | FILES_${PN}-staticdev += "${datadir}/dpdk/cmdif/lib/*.a \ | 100 | FILES:${PN}-staticdev += "${datadir}/dpdk/cmdif/lib/*.a \ |
101 | " | 101 | " |
102 | FILES_${PN}-dev += " \ | 102 | FILES:${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 | ||
112 | FILES_${PN} += " ${datadir}/ \ | 112 | FILES:${PN} += " ${datadir}/ \ |
113 | ${prefix}/sbin/ \ | 113 | ${prefix}/sbin/ \ |
114 | ${prefix}/bin/ \ | 114 | ${prefix}/bin/ \ |
115 | ${libdir}/ \ | 115 | ${libdir}/ \ |
116 | " | 116 | " |
117 | FILES_${PN}-examples += " \ | 117 | FILES:${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 | ||
14 | include dpdk.inc | 14 | include dpdk.inc |
15 | 15 | ||
16 | do_install_append () { | 16 | do_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 | } |