diff mbox

update/cleanup: remove references to qemu sub-dir

Message ID 1268910244-27228-1-git-send-email-nsprei@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Naphtali Sprei March 18, 2010, 11:04 a.m. UTC
None
diff mbox

Patch

diff --git a/kvm/configure b/kvm/configure
index 249c743..a41ab72 100755
--- a/kvm/configure
+++ b/kvm/configure
@@ -38,14 +38,7 @@  usage() {
 	    --qemu-cflags=CFLAGS   CFLAGS to add to qemu configuration
 	    --qemu-ldflags=LDFLAGS LDFLAGS to add to qemu configuration
 
-	Any additional option is given to qemu's configure verbatim; including:
-
 EOF
-    cd qemu
-    ./configure --help | egrep "enable-|disable-" \
-	| grep -v user | grep -v system | grep -v kqemu | grep -v kvm \
-	| sed -e "s/^  /    /g" \
-	| sed -e"s/  enable/enable/g" | sed -e "s/  disable/disable/g"
     exit 1
 }
 
@@ -131,16 +124,6 @@  arch=${arch%%-*}
           --arch="$arch" --processor="$processor" \
           ${cross_prefix:+"--cross-prefix=$cross_prefix"})
 
-#configure qemu
-(cd qemu; ./configure --target-list=$target_exec \
-    --disable-kqemu \
-    --extra-cflags="-I $PWD/../libkvm $qemu_cflags" \
-    --extra-ldflags="-L $PWD/../libkvm $qemu_ldflags" \
-    --kerneldir="$libkvm_kerneldir" \
-    --prefix="$prefix" \
-    ${cross_prefix:+"--cross-prefix=$cross_prefix"} \
-    ${cross_prefix:+"--cpu=$arch"} "${qemu_opts[@]}"
-) || usage
 
 
 cat <<EOF > config.mak