WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Allows a 'make prep-kernels' which sets up the kernel directories, allowing
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Dec 2005 07:16:07 +0000
Delivery-date: Mon, 12 Dec 2005 11:36:57 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Allows a 'make prep-kernels' which sets up the kernel directories, allowing, Xen patchbot -unstable <=