summaryrefslogtreecommitdiffstats
path: root/build/external/packages/rdma-core.mk
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-08-06 18:14:12 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-08-07 15:53:12 +0000
commitc0bc26eaf33d4309ec9e38086366ea172b624806 (patch)
treec6b1a0a188233b2d5ac57d558315a8ff76887bcc /build/external/packages/rdma-core.mk
parent08f2a5dae9663eafa09685ebebf672aa6b0b7ae0 (diff)
rdma: add missing symbols
rdma-core-25.0 move some symbol to another library, make sure we link to it. Type: fix Fixes: ec757593859bd8c16839ea8a81a2ef4eb8b29539 Change-Id: I6b8a56ea5fc7787d3de0982015ed47b767557c06 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'build/external/packages/rdma-core.mk')
-rw-r--r--build/external/packages/rdma-core.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/external/packages/rdma-core.mk b/build/external/packages/rdma-core.mk
index 9967338954d..71542d780b6 100644
--- a/build/external/packages/rdma-core.mk
+++ b/build/external/packages/rdma-core.mk
@@ -32,6 +32,7 @@ RDMA_FILES := include/infiniband/verbs.h \
include/infiniband/ib_user_ioctl_verbs.h \
include/rdma/ib_user_verbs.h \
lib/statics/libibverbs.a \
+ util/librdma_util.a \
lib/statics/libmlx5.a
define rdma-core_config_cmds
@@ -43,12 +44,14 @@ define rdma-core_config_cmds
endef
define rdma-core_build_cmds
- $(CMAKE) --build $(rdma-core_build_dir) -- libibverbs.a libmlx5.a > $(rdma-core_build_log)
+ $(CMAKE) --build $(rdma-core_build_dir) -- libibverbs.a librdma_util.a libmlx5.a > $(rdma-core_build_log)
endef
define rdma-core_install_cmds
mkdir -p $(rdma-core_install_dir)
tar -C $(rdma-core_build_dir) --xform='s|/statics/|/|' -hc $(RDMA_FILES) | tar -C $(rdma-core_install_dir) -xv > $(rdma-core_install_log)
+ mv -v $(rdma-core_install_dir)/util/librdma_util.a $(rdma-core_install_dir)/lib >> $(rdma-core_install_log)
+ rmdir $(rdma-core_install_dir)/util
endef
$(eval $(call package,rdma-core))