aboutsummaryrefslogtreecommitdiffstats
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 21:09:30 +0000
commitbb25fbf28c3a6cbe361db74d731d145e868fc716 (patch)
tree742f5c221324426749f0b26b65135458579b827a
parent90e6edf15cc6a96d41abb304d3f4fafd6797b6d8 (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> (cherry picked from commit 521a9f8eb9d35d2d8783175b89821c6a157237ca)
-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 \