[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Allows a 'make prep-kernels' which sets up the kernel directories, allowing



# HG changeset patch
# User vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID 1712c7882f7efbb8a48be4c6ae1643baed98db4d
# Parent  53cff3f88e45cb5230da39f86d84b6606da0cdbb
Allows a 'make prep-kernels' which sets up the kernel directories, allowing
certain types of test automation to be done more easily.

Signed-off-by: Paul Larson <pl@xxxxxxxxxx>

diff -r 53cff3f88e45 -r 1712c7882f7e Makefile
--- a/Makefile  Fri Dec  9 11:05:06 2005
+++ b/Makefile  Sat Dec 10 00:11:33 2005
@@ -58,6 +58,9 @@
 tools: dist-tools
 kernels: dist-kernels
 docs: dist-docs
+
+prep-kernels:
+       for i in $(XKERNELS) ; do $(MAKE) $$i-prep || exit 1; done
 
 install-xen:
        $(MAKE) -C xen install
@@ -156,6 +159,7 @@
        @echo '  install-iptables - install iptables tools'
        @echo ''
        @echo 'Miscellaneous targets:'
+       @echo '  prep-kernels     - prepares kernel directories, does not build'
        @echo '  mkpatches        - make patches against vanilla kernels from'
        @echo '                     sparse trees'
        @echo '  uninstall        - attempt to remove installed Xen tools (use'
diff -r 53cff3f88e45 -r 1712c7882f7e buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     Fri Dec  9 11:05:06 2005
+++ b/buildconfigs/Rules.mk     Sat Dec 10 00:11:33 2005
@@ -90,6 +90,9 @@
        touch $@ # update timestamp to avoid rebuild
 endif
 
+%-prep:
+       $(MAKE) -f buildconfigs/mk.$* prep
+
 %-install:
        $(MAKE) -f buildconfigs/mk.$* build
 
diff -r 53cff3f88e45 -r 1712c7882f7e buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Fri Dec  9 11:05:06 2005
+++ b/buildconfigs/mk.linux-2.6-xen     Sat Dec 10 00:11:33 2005
@@ -40,6 +40,8 @@
          rm -f Makefile ; mv Mk.tmp Makefile )
        $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) oldconfig
 
+prep: $(LINUX_DIR)/include/linux/autoconf.h
+
 config: CONFIGMODE = menuconfig
 config: $(LINUX_DIR)/include/linux/autoconf.h
        $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) $(CONFIGMODE)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.