All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: [RFC][PATCH] add make kernels-prep support
@ 2005-09-23 22:30 Ian Pratt
  2005-12-02  3:57 ` Paul Larson
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Pratt @ 2005-09-23 22:30 UTC (permalink / raw)
  To: habanero, xen-devel

 
> Would anyone be interested in having a 'make kernels-prep'?  
> I tend to automate the rest of the kernel builds, and as a 
> result 'make kernels' gets used to just setup the kernel 
> directories, and the build is kind of wasted.  
> Would there be any problem including the attached patch to 
> allow a 'make kernels-prep'?

Sounds a good idea to me.

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread
* [RFC][PATCH] add make kernels-prep support
@ 2005-09-22 17:22 Andrew Theurer
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Theurer @ 2005-09-22 17:22 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

Would anyone be interested in having a 'make kernels-prep'?  I tend to 
automate the rest of the kernel builds, and as a result 'make kernels' gets 
used to just setup the kernel directories, and the build is kind of wasted.  
Would there be any problem including the attached patch to allow a 'make 
kernels-prep'?

Thanks,

Andrew

signed-off-by Andrew Theurer <habanero@us.ibm.com>

[-- Attachment #2: patch-prep-buildconfig --]
[-- Type: text/x-diff, Size: 2915 bytes --]

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
 

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-02  3:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-23 22:30 [RFC][PATCH] add make kernels-prep support Ian Pratt
2005-12-02  3:57 ` Paul Larson
  -- strict thread matches above, loose matches on Subject: below --
2005-09-22 17:22 Andrew Theurer

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.