[45/81] Fold XEN_LIBS into libs_softmmu
diff mbox

Message ID 26181c052a4e0d97b610ae61dbdca71eca4f9c1f.1249301360.git.quintela@redhat.com
State Superseded
Headers show

Commit Message

Juan Quintela Aug. 3, 2009, 12:46 p.m. UTC
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 Makefile.target |    3 ---
 configure       |    3 +--
 2 files changed, 1 insertions(+), 5 deletions(-)

Patch
diff mbox

diff --git a/Makefile.target b/Makefile.target
index 3253c23..f8d3d9e 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -247,9 +247,6 @@  endif

 # xen backend driver support
 obj-$(CONFIG_XEN) += xen_machine_pv.o xen_domainbuild.o
-ifeq ($(CONFIG_XEN), y)
-  LIBS += $(XEN_LIBS)
-endif

 # USB layer
 obj-y += usb-ohci.o
diff --git a/configure b/configure
index 059be1a..13ae0e2 100755
--- a/configure
+++ b/configure
@@ -829,7 +829,7 @@  if test "$xen" = "yes" ; then
 int main(void) { xs_daemon_open(); xc_interface_open(); return 0; }
 EOF
   if compile_prog "" "$xen_libs" ; then
-    :
+    libs_softmmu="$xen_libs $libs_softmmu"
   else
     xen="no"
   fi
@@ -1694,7 +1694,6 @@  if test "$bluez" = "yes" ; then
 fi
 if test "$xen" = "yes" ; then
   echo "CONFIG_XEN=y" >> $config_host_mak
-  echo "XEN_LIBS=$xen_libs" >> $config_host_mak
 fi
 if test "$aio" = "yes" ; then
   echo "CONFIG_AIO=y" >> $config_host_mak