From: Paul Larson <pl@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: [PATCH][2nd try] add make prep-kernels support
Date: Mon, 05 Dec 2005 09:35:26 -0600 [thread overview]
Message-ID: <43945E3E.3060102@us.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
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
[-- Attachment #2: prep-kernels.patch --]
[-- Type: text/x-patch, Size: 2173 bytes --]
# HG changeset patch
# User pl@us.ibm.com
# 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.
diff -r f62f9b1732b9 -r 24c85ccb3583 Makefile
--- a/Makefile Thu Dec 1 20:43:04 2005 +0100
+++ b/Makefile Thu Dec 1 18:15:21 2005 -0600
@@ -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
diff -r f62f9b1732b9 -r 24c85ccb3583 buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk Thu Dec 1 20:43:04 2005 +0100
+++ b/buildconfigs/Rules.mk Thu Dec 1 18:15:21 2005 -0600
@@ -89,6 +89,9 @@
touch $@ # update timestamp to avoid rebuild
endif
+%-prep:
+ $(MAKE) -f buildconfigs/mk.$* prep
+
%-install:
$(MAKE) -f buildconfigs/mk.$* build
diff -r f62f9b1732b9 -r 24c85ccb3583 buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen Thu Dec 1 20:43:04 2005 +0100
+++ b/buildconfigs/mk.linux-2.6-xen Thu Dec 1 18:15:21 2005 -0600
@@ -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 pl@us.ibm.com
# Node ID 554278b41bbbb5f80c3d343e95eb1e2941dc3501
# Parent 24c85ccb358307d990687c832e0e61116363f2b9
Added make help info for prep-kernels
diff -r 24c85ccb3583 -r 554278b41bbb Makefile
--- a/Makefile Thu Dec 1 18:15:21 2005 -0600
+++ b/Makefile Thu Dec 1 18:17:43 2005 -0600
@@ -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'
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2005-12-05 15:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-05 15:35 Paul Larson [this message]
2005-12-10 15:43 ` [PATCH][2nd try] add make prep-kernels support Vincent Hanquez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=43945E3E.3060102@us.ibm.com \
--to=pl@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.