mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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>
This commit is contained in:
1 parent
2fdffd69ae
commit
dc5e7fd510
3 files changed
+9
No files matched your search
@@ -59,6 +59,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 @@ help:
|
||||
@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'
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||