summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorAlan Perry <alanp@snowmoose.com>2021-01-25 07:21:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-27 10:17:45 +0000
commit70aac6cae855fc3efb48359c0dbd6500189c78e1 (patch)
tree280c166c51662353b00bac3b55d58df76eaf0e0a /meta/recipes-connectivity
parent9f01875a9e77c6a7a3c22007f8c717c4674e8e03 (diff)
downloadpoky-70aac6cae855fc3efb48359c0dbd6500189c78e1.tar.gz
iproute2: Add subpackage for rdma command
The rdma command is part of iproute2 and is used to query or set the RDMA configuration where applicable. This patch adds options to build it and include it. (From OE-Core rev: a2d79159dd3fa583ae28fc138f68ad9c893f5de0) Signed-off-by: Alan Perry <alanp@snowmoose.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/iproute2/iproute2.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/iproute2/iproute2.inc b/meta/recipes-connectivity/iproute2/iproute2.inc
index 6a5dafaa35..6c8eea6799 100644
--- a/meta/recipes-connectivity/iproute2/iproute2.inc
+++ b/meta/recipes-connectivity/iproute2/iproute2.inc
@@ -19,8 +19,9 @@ PACKAGECONFIG ??= "tipc elf devlink"
19PACKAGECONFIG[tipc] = ",,libmnl," 19PACKAGECONFIG[tipc] = ",,libmnl,"
20PACKAGECONFIG[elf] = ",,elfutils," 20PACKAGECONFIG[elf] = ",,elfutils,"
21PACKAGECONFIG[devlink] = ",,libmnl," 21PACKAGECONFIG[devlink] = ",,libmnl,"
22PACKAGECONFIG[rdma] = ",,libmnl,"
22 23
23IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc', d)}" 24IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}"
24 25
25EXTRA_OEMAKE = "\ 26EXTRA_OEMAKE = "\
26 CC='${CC}' \ 27 CC='${CC}' \
@@ -59,6 +60,7 @@ IPROUTE2_PACKAGES =+ "\
59 ${PN}-ss \ 60 ${PN}-ss \
60 ${PN}-tc \ 61 ${PN}-tc \
61 ${PN}-tipc \ 62 ${PN}-tipc \
63 ${PN}-rdma \
62" 64"
63 65
64PACKAGE_BEFORE_PN = "${IPROUTE2_PACKAGES}" 66PACKAGE_BEFORE_PN = "${IPROUTE2_PACKAGES}"
@@ -77,6 +79,7 @@ FILES_${PN}-nstat = "${base_sbindir}/nstat"
77FILES_${PN}-ss = "${base_sbindir}/ss" 79FILES_${PN}-ss = "${base_sbindir}/ss"
78FILES_${PN}-tipc = "${base_sbindir}/tipc" 80FILES_${PN}-tipc = "${base_sbindir}/tipc"
79FILES_${PN}-devlink = "${base_sbindir}/devlink" 81FILES_${PN}-devlink = "${base_sbindir}/devlink"
82FILES_${PN}-rdma = "${base_sbindir}/rdma"
80 83
81ALTERNATIVE_${PN}-ip = "ip" 84ALTERNATIVE_${PN}-ip = "ip"
82ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}" 85ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"