aboutsummaryrefslogtreecommitdiffstats
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:16:14 +0000
commita2d79159dd3fa583ae28fc138f68ad9c893f5de0 (patch)
treebfe394fea0d983ebf1bba39549b11e1e65a70e9c /meta/recipes-connectivity
parent2e25bea34fb144108cb020284a53369666318479 (diff)
downloadopenembedded-core-contrib-a2d79159dd3fa583ae28fc138f68ad9c893f5de0.tar.gz
openembedded-core-contrib-a2d79159dd3fa583ae28fc138f68ad9c893f5de0.tar.bz2
openembedded-core-contrib-a2d79159dd3fa583ae28fc138f68ad9c893f5de0.zip
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. 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"
PACKAGECONFIG[tipc] = ",,libmnl,"
PACKAGECONFIG[elf] = ",,elfutils,"
PACKAGECONFIG[devlink] = ",,libmnl,"
+PACKAGECONFIG[rdma] = ",,libmnl,"
-IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc', d)}"
+IPROUTE2_MAKE_SUBDIRS = "lib tc ip bridge misc genl ${@bb.utils.filter('PACKAGECONFIG', 'devlink tipc rdma', d)}"
EXTRA_OEMAKE = "\
CC='${CC}' \
@@ -59,6 +60,7 @@ IPROUTE2_PACKAGES =+ "\
${PN}-ss \
${PN}-tc \
${PN}-tipc \
+ ${PN}-rdma \
"
PACKAGE_BEFORE_PN = "${IPROUTE2_PACKAGES}"
@@ -77,6 +79,7 @@ FILES_${PN}-nstat = "${base_sbindir}/nstat"
FILES_${PN}-ss = "${base_sbindir}/ss"
FILES_${PN}-tipc = "${base_sbindir}/tipc"
FILES_${PN}-devlink = "${base_sbindir}/devlink"
+FILES_${PN}-rdma = "${base_sbindir}/rdma"
ALTERNATIVE_${PN}-ip = "ip"
ALTERNATIVE_TARGET[ip] = "${base_sbindir}/ip.${BPN}"