From: Jerone Young <[EMAIL PROTECTED]>

This is a relic of the big userspace refactoring, but today libkvm does
should not include settings from the test suite. This patch resolves this
and removes the overwriting of setting from the main config.mak with test
suite settings.

Signed-off-by: Jerone Young <[EMAIL PROTECTED]>
Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>

diff --git a/configure b/configure
index eefb416..06b45b0 100755
--- a/configure
+++ b/configure
@@ -2,6 +2,9 @@
 
 prefix=/usr/local
 kerneldir=/lib/modules/$(uname -r)/build
+cc=cc
+ld=ld
+objcopy=objcopy
 want_module=1
 qemu_cc=
 qemu_cflags=
@@ -128,4 +131,7 @@ PREFIX=$prefix
 KERNELDIR=$kerneldir
 WANT_MODULE=$want_module
 CROSS_COMPILE=$cross_prefix
+CC=$cross_prefix$cc
+LD=$cross_prefix$ld
+OBJCOPY=$cross_prefix$objcopy
 EOF
diff --git a/libkvm/Makefile b/libkvm/Makefile
index 65efb3a..28af33b 100644
--- a/libkvm/Makefile
+++ b/libkvm/Makefile
@@ -1,5 +1,4 @@
 include ../config.mak
-include ../user/config.mak
 include config-$(ARCH).mak
 
 # cc-option

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-commits mailing list
kvm-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-commits

Reply via email to