add make prep-kernels support
PATCH 1/1 add make prep-kernels support
This seemed to be well received when it was submitted before, but never actually made it in. Would be very useful for test automation purposes.
Thanks,
Paul Larson
# HG changeset patch
# User [email protected]
# Node ID 24c85ccb358307d990687c832e0e61116363f2b9
# Parent f62f9b1732b9adaeab50b808746097b7aa089f5d
Allows a 'make prep-kernels' which sets up the kernel directories, allowing certain types of test automation to be done more easily.
Makefile +3 -0
@@ -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
buildconfigs/Rules.mk +3 -0
@@ -89,6 +89,9 @@ touch $@ # update timestamp to avoid rebuild endif +%-prep: + $(MAKE) -f buildconfigs/mk.$* prep + %-install: $(MAKE) -f buildconfigs/mk.$* build
buildconfigs/mk.linux-2.6-xen +2 -0
@@ -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)
# HG changeset patch
# User [email protected]
# Node ID 554278b41bbbb5f80c3d343e95eb1e2941dc3501 # Parent 24c85ccb358307d990687c832e0e61116363f2b9 Added make help info for prep-kernels
Makefile +1 -0
@@ -159,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'
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Vincent Hanquez
AppliedQuoted 2 lines · Paul Larson
This seemed to be well received when it was submitted before, but never actually made it in. Would be very useful for test automation purposes.
Applied
thanks,
Signature · 1 line
Vincent Hanquez