summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2021-11-30 09:15:38 +0100
committerDave Wallace <dwallacelf@gmail.com>2021-11-30 14:10:32 +0000
commit521a9f8eb9d35d2d8783175b89821c6a157237ca (patch)
tree570f5f27645c5c977ba30bd809d06c32c4937063
parentcd27e71f334bae63e66ad1249b23e4f9deac20e2 (diff)
rdma: fix rdma-core install
We should not install symlinks to local build directory. Type: fix Change-Id: I81e624dd5775ec9c5dd8c58f578ee51c5acfef73 Signed-off-by: Benoît Ganne <bganne@cisco.com>
-rw-r--r--build/external/packages/rdma-core.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/external/packages/rdma-core.mk b/build/external/packages/rdma-core.mk
index b8092e4cb4d..a16824150b2 100644
--- a/build/external/packages/rdma-core.mk
+++ b/build/external/packages/rdma-core.mk
@@ -42,12 +42,12 @@ endef
define rdma-core_install_cmds
mkdir -p $(rdma-core_install_dir)/lib/pkgconfig
- cp -av $(rdma-core_build_dir)/include $(rdma-core_install_dir) > $(rdma-core_install_log)
- cp -v $(rdma-core_build_dir)/lib/pkgconfig/libibverbs.pc \
+ cp -avL $(rdma-core_build_dir)/include $(rdma-core_install_dir) > $(rdma-core_install_log)
+ cp -avL $(rdma-core_build_dir)/lib/pkgconfig/libibverbs.pc \
$(rdma-core_build_dir)/lib/pkgconfig/libmlx5.pc \
$(rdma-core_build_dir)/lib/pkgconfig/libmlx4.pc \
$(rdma-core_install_dir)/lib/pkgconfig >> $(rdma-core_install_log)
- cp -v $(rdma-core_build_dir)/lib/statics/libibverbs.a \
+ cp -avL $(rdma-core_build_dir)/lib/statics/libibverbs.a \
$(rdma-core_build_dir)/lib/statics/libmlx5.a \
$(rdma-core_build_dir)/lib/statics/libmlx4.a \
$(rdma-core_build_dir)/util/librdma_util.a \