|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Specify the dom0 config file
Hi,
Here a small patch to use a given dom0 config file for the dom0 kernel
compilation. The env variable XEN_LINUX_CONFIG is used to specify this
file.
Signed-off-by: Jean Guyader <jean.guyader@xxxxxxxxxxxxx>
Cheers,
--
Jean Guyader
diff -r 78e98657021a buildconfigs/mk.linux-2.6-common
--- a/buildconfigs/mk.linux-2.6-common Fri Oct 03 09:42:11 2008 +0100
+++ b/buildconfigs/mk.linux-2.6-common Wed Oct 08 15:10:30 2008 +0100
@@ -75,7 +75,9 @@
# tree. Finally attempt to use make defconfig.
set -e ; \
CONFIG_VERSION=$$(sed -ne 's/$$(XENGUEST)//; s/^EXTRAVERSION = //p'
$(LINUX_SRCDIR)/Makefile); \
- if [ -r
$(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
+ if [ ! -z "$(XEN_LINUX_CONFIG)" -a -r $(XEN_LINUX_CONFIG) ]; then \
+ cp $(XEN_LINUX_CONFIG) $(CONFIG_FILE); \
+ elif [ -r
$(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION) ] ; then \
cp
$(DESTDIR)/boot/config-$(LINUX_VER3)$$CONFIG_VERSION$(EXTRAVERSION)
$(CONFIG_FILE) ; \
elif [ -e $(LINUX_SRCDIR)/buildconfigs/create_config.sh ] ; then \
cd $(LINUX_SRCDIR) && sh buildconfigs/create_config.sh \
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] Specify the dom0 config file,
Jean Guyader <=
|
|
|
|
|