WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH] reenable pygrub build

On Sat, 8 Oct 2005, Ian Pratt wrote:

> BTW: Have you guys got other patches to feed upstream?

This is a hack for our kernel spec file.  The Xen kernels are
compiled as variants on i686 and x86_64, and the spec file is
constructed in such a way that it has the same build targets
for all the kernel variants within one architecture.

This trivial patch adds a bzImage target.

Signed-off-by: Rik van Riel <riel@xxxxxxxxxx>

--- linux-2.6/arch/xen/boot/Makefile.bzi        2004-11-17 22:07:46.000000000 
-0500
+++ linux-2.6/arch/xen/boot/Makefile    2004-11-17 22:12:07.000000000 -0500
@@ -6,3 +6,6 @@ vmlinuz: vmlinux-stripped FORCE
 
 vmlinux-stripped: vmlinux FORCE
        $(call if_changed,objcopy)
+
+bzImage: vmlinuz
+       $(Q)$(LN) -sf ../../../vmlinuz $(srctree)/arch/xen/boot/bzImage
unchanged:
--- linux-2.6/arch/xen/Makefile.bzi     2004-11-17 22:07:34.000000000 -0500
+++ linux-2.6/arch/xen/Makefile 2004-11-17 22:07:40.000000000 -0500
@@ -45,6 +45,9 @@ all: vmlinuz
 vmlinuz: vmlinux
        $(Q)$(MAKE) $(build)=arch/xen/boot vmlinuz
 
+bzImage: vmlinuz
+       $(Q)$(MAKE) $(build)=arch/xen/boot bzImage
+
 XINSTALL_NAME ?= $(KERNELRELEASE)
 install: vmlinuz
        mkdir -p $(INSTALL_PATH)/boot

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