diff options
author | vhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com> | 2005-12-10 00:11:33 +0000 |
---|---|---|
committer | vhanquez@kneesa.uk.xensource.com <vhanquez@kneesa.uk.xensource.com> | 2005-12-10 00:11:33 +0000 |
commit | dc5e7fd510520bbb59d5e38a413f8a4e7a8ee338 (patch) | |
tree | 86cc1d29f339c4f84882b39d04c4ac85e5119acf /buildconfigs | |
parent | 2fdffd69aeb0b9ac68296d49a53827160afb0112 (diff) | |
download | xen-dc5e7fd510520bbb59d5e38a413f8a4e7a8ee338.tar.gz xen-dc5e7fd510520bbb59d5e38a413f8a4e7a8ee338.tar.bz2 xen-dc5e7fd510520bbb59d5e38a413f8a4e7a8ee338.zip |
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@us.ibm.com>
Diffstat (limited to 'buildconfigs')
-rw-r--r-- | buildconfigs/Rules.mk | 3 | ||||
-rw-r--r-- | buildconfigs/mk.linux-2.6-xen | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index 61cd156027..b0a7df71c7 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -90,6 +90,9 @@ ref-%/.valid-ref: pristine-%/.valid-pristine touch $@ # update timestamp to avoid rebuild endif +%-prep: + $(MAKE) -f buildconfigs/mk.$* prep + %-install: $(MAKE) -f buildconfigs/mk.$* build diff --git a/buildconfigs/mk.linux-2.6-xen b/buildconfigs/mk.linux-2.6-xen index c74145b5f6..16e7e9d281 100644 --- a/buildconfigs/mk.linux-2.6-xen +++ b/buildconfigs/mk.linux-2.6-xen @@ -40,6 +40,8 @@ $(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref 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) |