diff -Naurp xen-unstable.hg/buildconfigs/mk.linux-2.6-xen xen-unstable.hg-new/buildconfigs/mk.linux-2.6-xen --- xen-unstable.hg/buildconfigs/mk.linux-2.6-xen 2005-09-20 21:52:20.000000000 -0500 +++ xen-unstable.hg-new/buildconfigs/mk.linux-2.6-xen 2005-09-22 12:16:40.297578696 -0500 @@ -40,10 +40,14 @@ $(LINUX_DIR)/include/linux/autoconf.h: r 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) +prep: $(LINUX_DIR)/include/linux/autoconf.h + clean:: $(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) clean diff -Naurp xen-unstable.hg/buildconfigs/mk.linux-2.6-xen0 xen-unstable.hg-new/buildconfigs/mk.linux-2.6-xen0 --- xen-unstable.hg/buildconfigs/mk.linux-2.6-xen0 2005-09-20 21:52:20.000000000 -0500 +++ xen-unstable.hg-new/buildconfigs/mk.linux-2.6-xen0 2005-09-22 12:05:09.875538800 -0500 @@ -40,6 +40,8 @@ $(LINUX_DIR)/include/linux/autoconf.h: r 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) diff -Naurp xen-unstable.hg/buildconfigs/mk.linux-2.6-xenU xen-unstable.hg-new/buildconfigs/mk.linux-2.6-xenU --- xen-unstable.hg/buildconfigs/mk.linux-2.6-xenU 2005-09-20 21:52:20.000000000 -0500 +++ xen-unstable.hg-new/buildconfigs/mk.linux-2.6-xenU 2005-09-22 12:05:28.233747928 -0500 @@ -40,6 +40,8 @@ $(LINUX_DIR)/include/linux/autoconf.h: r 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) diff -Naurp xen-unstable.hg/buildconfigs/Rules.mk xen-unstable.hg-new/buildconfigs/Rules.mk --- xen-unstable.hg/buildconfigs/Rules.mk 2005-09-20 21:52:20.000000000 -0500 +++ xen-unstable.hg-new/buildconfigs/Rules.mk 2005-09-22 12:04:15.917741632 -0500 @@ -90,6 +90,9 @@ ref-%/.valid-ref: pristine-%/.valid-pris touch $@ # update timestamp to avoid rebuild endif +%-prep: + $(MAKE) -f buildconfigs/mk.$* prep + %-build: $(MAKE) -f buildconfigs/mk.$* build diff -Naurp xen-unstable.hg/Makefile xen-unstable.hg-new/Makefile --- xen-unstable.hg/Makefile 2005-09-20 21:52:20.000000000 -0500 +++ xen-unstable.hg-new/Makefile 2005-09-22 12:12:47.782926296 -0500 @@ -63,6 +63,9 @@ tools: kernels: for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done +kernels-prep: + for i in $(XKERNELS) ; do $(MAKE) $$i-prep || exit 1; done + docs: sh ./docs/check_pkgs && $(MAKE) -C docs install || true