[PATCH 1 of 7] Enhnace kvm-userspace configure script for powerpc

Jerone Young
2008-01-28T03:16:24Z

# User Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
# Date 1201488336 21600
# Node ID 4b35e985aaf2021d956b09bd690c72ea5cadb007
# Parent a2740102bf6564a194e55b605c69886c56a37ece
Enhnace kvm-userspace configure script for powerpc

Add qemu option to tell qemu to compile ppcemb-softmmu, if ARCH=powerpc is used.

Signed-off-by: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -101,6 +101,10 @@ if [ "$arch" = "ia64" ]; then
target_exec="ia64-softmmu"
fi

+if [ "$arch" = "powerpc" ]; then
+ target_exec="ppcemb-softmmu"
+fi
+
#configure user dir
(cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir" \
--arch="$arch" \