summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorHollis Blanchard <hollisb@us.ibm.com>2008-01-07 15:29:14 -0600
committerAvi Kivity <avi@qumranet.com>2008-01-08 15:50:13 +0200
commit86d1a737fc444373f94d465fbc7d0aa5f712c068 (patch)
tree186d631ccf8a5d227eb4b71d02ea15afc4a4b583 /configure
parentbc7252d3a9274cd16d260236ac4bc66c2435b538 (diff)
kvm: configure: allow building against pristine kernel source directory
Create an "asm" symlink from libkvm into the kernel source directory. This allows one to use kernel trees built with the O= option. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index a10a4af0..30497362 100755
--- a/configure
+++ b/configure
@@ -106,6 +106,8 @@ fi
--arch="$arch" \
${cross_prefix:+"--cross-prefix=$cross_prefix"})
+(cd libkvm; ln -sf "$kerneldir/include/asm-$arch" asm)
+
#configure qemu
(cd qemu; ./configure --target-list=$target_exec \
--disable-kqemu \