Commit 392fb643 authored by Fam Zheng's avatar Fam Zheng
Browse files

buildsys: Move rdma libs to per object



Signed-off-by: default avatarFam Zheng <famz@redhat.com>
Message-Id: <20170907084230.26493-1-famz@redhat.com>
Reviewed-by: default avatarJuan Quintela <quintela@redhat.com>
Reviewed-by: default avatarPeter Xu <peterx@redhat.com>
Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: default avatarFam Zheng <famz@redhat.com>
parent 8eca2889
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2800,7 +2800,6 @@ EOF
  rdma_libs="-lrdmacm -libverbs"
  if compile_prog "" "$rdma_libs" ; then
    rdma="yes"
    libs_softmmu="$libs_softmmu $rdma_libs"
  else
    if test "$rdma" = "yes" ; then
        error_exit \
@@ -5988,6 +5987,7 @@ echo "CONFIG_TRACE_FILE=$trace_file" >> $config_host_mak

if test "$rdma" = "yes" ; then
  echo "CONFIG_RDMA=y" >> $config_host_mak
  echo "RDMA_LIBS=$rdma_libs" >> $config_host_mak
fi

if test "$have_rtnetlink" = "yes" ; then
+1 −0
Original line number Diff line number Diff line
@@ -11,3 +11,4 @@ common-obj-$(CONFIG_RDMA) += rdma.o

common-obj-$(CONFIG_LIVE_BLOCK_MIGRATION) += block.o

rdma.o-libs := $(RDMA_LIBS)