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/
Home Products Support Community News


[Xen-ia64-devel] Copy Xen0 kernels into right folder by "make"

To: xen-ia64-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Subject: [Xen-ia64-devel] Copy Xen0 kernels into right folder by "make"
From: Yongkang You <yongkang.you@xxxxxxxxx>
Date: Tue, 16 Jan 2007 15:56:55 +0800
Delivery-date: Mon, 15 Jan 2007 23:56:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ia64-devel-request@lists.xensource.com?subject=help>
List-id: Discussion of the ia64 port of Xen <xen-ia64-devel.lists.xensource.com>
List-post: <mailto:xen-ia64-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ia64-devel>, <mailto:xen-ia64-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (Windows/20061207)
Hi all,

Xen "make" doesn't copy Xen0 kernels into the right destination in IA64 machines for a long time. It always copies Xen0 kernel in xen_source/dist/install/

I did some investigation. The reason is the makefile (buildconfigs/mk.linux-2.6-xen) doesn't give the "right" INSTALL_PATH to Linux Makefile. The $INSTALL_PATH will be used by linux_source/arch/ia64/install.sh, which would copy vmlinuz into $INSTALL_PATH. This is different with x86 platform.

It is better to add judgement in mk.linux-2.6-xen to modify INSTALL_PATH. I am not good at Makefile. So how about the attachment patch, is it okay?

And XEN_TARGET_ARCH has already been defined in Config.mk . But mk.linux-2.6-xen doesn't recognized it, so I generated it again.

Best regards,
Yongkang You
--- a/buildconfigs/mk.linux-2.6-xen     2007-01-11 02:06:48.000000000 +0800
+++ b/buildconfigs/mk.linux-2.6-xen     2007-01-16 15:33:43.000000000 +0800
@@ -9,6 +9,12 @@
 IMAGE_TARGET ?= vmlinuz
+XEN_TARGET_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/ \
+           -e s/ppc/powerpc/ -e s/i86pc/x86_32/)
+ifeq ($(XEN_TARGET_ARCH),ia64)
 LINUX_VER3  := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER)))
 include buildconfigs/Rules.mk
Xen-ia64-devel mailing list
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] Copy Xen0 kernels into right folder by "make", Yongkang You <=