From: Ben Guthro <bguthro@virtualiron.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] [HVM] Allow mkbuildtree to override XEN and XL
Date: Wed, 06 Jun 2007 12:12:24 -0400 [thread overview]
Message-ID: <4666DCE8.4040605@virtualiron.com> (raw)
In-Reply-To: <4666DC10.9020107@virtualiron.com>
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
mkbuildtree.patch
Previous versions of mkbuildtree allowed XL to be overridden. With
the introduction of the XEN variable, this functonality was removed.
This patch gives the flexibility to override XL, and XEN on the command
line.
Signed-off-by: Ben Guthro <bguthro@virtualiron.com>
[-- Attachment #2: mkbuildtree.patch --]
[-- Type: text/x-patch, Size: 613 bytes --]
diff -r d4a0706d6747 unmodified_drivers/linux-2.6/mkbuildtree
--- a/unmodified_drivers/linux-2.6/mkbuildtree Tue May 15 15:14:02 2007 +0100
+++ b/unmodified_drivers/linux-2.6/mkbuildtree Fri May 18 07:48:18 2007 -0400
@@ -10,8 +10,17 @@ fi
C=$PWD
-XEN=$C/../../xen
-XL=$C/../../linux-2.6-xen-sparse
+if [ -n "$XEN" -a -d "$XEN" ]; then
+ XEN=$(cd $XEN && pwd)
+else
+ XEN=$C/../../xen
+fi
+
+if [ -n "$XL" -a -d "$XL" ]; then
+ XL=$(cd $XL && pwd)
+else
+ XL=$C/../../linux-2.6-xen-sparse
+fi
for d in $(find ${XL}/drivers/xen/ -maxdepth 1 -type d | sed -e 1d); do
if ! echo $d | egrep -q back; then
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next prev parent reply other threads:[~2007-06-06 16:12 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-31 23:04 [RFC][PATCH 1/6] HVM PCI Passthrough (non-IOMMU) Guy Zana
2007-06-04 18:25 ` Muli Ben-Yehuda
2007-06-04 21:43 ` Guy Zana
2007-06-05 6:37 ` Muli Ben-Yehuda
2007-06-06 16:00 ` [PATCH] [HVM] Prevent usb driver crashes in Windows Ben Guthro
2007-06-06 16:05 ` [PATCH] Fix vnc port offset in xenstore Ben Guthro
2007-06-06 16:08 ` [PATCH] [HVM] Fix 64 bit PV-on-HVM driver builds Ben Guthro
2007-06-06 16:12 ` Ben Guthro [this message]
2007-06-06 16:17 ` Jan Beulich
2007-06-06 16:26 ` [PATCH] [QEMU] remove .depend file on clean build Ben Guthro
2007-06-06 16:38 ` [PATCH] [HVM] Fix 64 bit PV-on-HVM driver builds Keir Fraser
2007-06-06 18:42 ` Dave Lively
2007-06-06 18:57 ` Keir Fraser
2007-06-06 19:20 ` David Lively
2007-06-06 16:40 ` [PATCH] [HVM] Prevent usb driver crashes in Windows Keir Fraser
2007-06-06 17:03 ` Steve Ofsthun
2007-06-06 18:22 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4666DCE8.4040605@virtualiron.com \
--to=bguthro@virtualiron.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.