From a2d79159dd3fa583ae28fc138f68ad9c893f5de0 Mon Sep 17 00:00:00 2001 From: Alan Perry Date: Mon, 25 Jan 2021 07:21:19 +0000 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-connectivity/iproute2/iproute2.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-connectivity') 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}" -- cgit 1.2.3-korg