aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2006-11-02 09:36:57 +0000
committerAvi Kivity <avi@qumranet.com>2006-11-02 09:36:57 +0000
commit52e8e8c1b9bcb02901849ff83c1efe26678b0db8 (patch)
tree867915b2c8b52a48f3fa7809c261b35058116636
parentb11c5c5f6a9dd2036aaab13a3d30a420716cc473 (diff)
Unhardcode the kernel path
-rwxr-xr-xconfigure2
-rwxr-xr-xkvm-configure2
2 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 0e0967aa2..df0eeed25 100755
--- a/configure
+++ b/configure
@@ -794,7 +794,7 @@ configure_kvm() {
echo "#define USE_KVM 1" >> $config_h
echo "CONFIG_KVM_INC=$PWD/../user" >> $config_mak
echo "CONFIG_KVM_LIB=$PWD/../user" >> $config_mak
- echo "CONFIG_KVM_KERNEL_INC=$PWD/../kernel/include" >> $config_mak
+ echo "CONFIG_KVM_KERNEL_INC=$kernel_path/include" >> $config_mak
fi
}
diff --git a/kvm-configure b/kvm-configure
index 927699c04..5d905ca0e 100755
--- a/kvm-configure
+++ b/kvm-configure
@@ -2,4 +2,4 @@
CC=$(ls /usr/bin/gcc3* | tail -n1)
./configure --target-list=$(uname -i)-softmmu --cc=$CC --disable-kqemu \
- --enable-kvm
+ --enable-kvm --kernel-path=$PWD/../kernel