aboutsummaryrefslogtreecommitdiffstats
path: root/unmodified_drivers/linux-2.6/mkbuildtree
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-17 16:32:30 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2006-08-17 16:32:30 +0100
commit05592e02ad24568f053867afdb98ff3aa0323b54 (patch)
treebd7b5b8e583b1538798ebfe1eae2ebb428e45ed7 /unmodified_drivers/linux-2.6/mkbuildtree
parent66f06183699015de464d8f5c79e6233ad48a9d2d (diff)
downloadxen-05592e02ad24568f053867afdb98ff3aa0323b54.tar.gz
xen-05592e02ad24568f053867afdb98ff3aa0323b54.tar.bz2
xen-05592e02ad24568f053867afdb98ff3aa0323b54.zip
[HVM] Allow xenbus to run in an HVM guest.
Signed-off-by: Steven Smith <ssmith@xensource.com>
Diffstat (limited to 'unmodified_drivers/linux-2.6/mkbuildtree')
-rw-r--r--unmodified_drivers/linux-2.6/mkbuildtree7
1 files changed, 7 insertions, 0 deletions
diff --git a/unmodified_drivers/linux-2.6/mkbuildtree b/unmodified_drivers/linux-2.6/mkbuildtree
index 6002b2722d..382a493796 100644
--- a/unmodified_drivers/linux-2.6/mkbuildtree
+++ b/unmodified_drivers/linux-2.6/mkbuildtree
@@ -5,8 +5,15 @@ C=$PWD
XEN=$C/../../xen
XL=$C/../../linux-2.6-xen-sparse
+for d in $(find ${XL}/drivers/xen/ -maxdepth 1 -type d | sed -e 1d); do
+ if ! echo $d | egrep -q back; then
+ lndir $d $(basename $d) > /dev/null 2>&1
+ fi
+done
+
ln -sf ${XL}/drivers/xen/core/gnttab.c platform-pci
ln -sf ${XL}/drivers/xen/core/features.c platform-pci
+ln -sf ${XL}/drivers/xen/core/xen_proc.c xenbus
mkdir -p include
mkdir -p include/xen