diff options
author | Avi Kivity <avi@qumranet.com> | 2006-11-02 09:36:57 +0000 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2006-11-02 09:36:57 +0000 |
commit | 52e8e8c1b9bcb02901849ff83c1efe26678b0db8 (patch) | |
tree | 867915b2c8b52a48f3fa7809c261b35058116636 | |
parent | b11c5c5f6a9dd2036aaab13a3d30a420716cc473 (diff) |
Unhardcode the kernel path
-rwxr-xr-x | configure | 2 | ||||
-rwxr-xr-x | kvm-configure | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |