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-ia64-devel

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

To: Keir Fraser <keir@xxxxxxxxxxxxx>, xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-ia64-devel] [Patch] Copy Xen0 kernels into right folder by "make" in IA64 platform
From: Yongkang You <yongkang.you@xxxxxxxxx>
Date: Thu, 18 Jan 2007 13:42:33 +0800
Delivery-date: Wed, 17 Jan 2007 21:42:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <C1D402DA.7C37%keir@xxxxxxxxxxxxx>
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>
References: <C1D402DA.7C37%keir@xxxxxxxxxxxxx>
Sender: xen-ia64-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)
Keir Fraser wrote:

What about if you add a line:

export XEN_TARGET_ARCH

...to the root Makefile, just before it includes buildconfigs/Rules.mk?

I've checked this change in, so hopefully you can then simply use
XEN_TARGET_ARCH from mk.linux-2.6-xen with no problems.

 -- Keir

Hi Keir,

Greatly thanks for the modification in Makefile. Now following simple patch can copy vmlinuz to xen_source/dist/install/boot in IA64 platform successfully.

Best Regards,
Yongkang

=========

Copy vmlinuz to correct folder when make source in IA64 platform

Signed-off-by, Yongkang You < yongkang.you@xxxxxxxxx >

diff -r 6d832b092857 -r 5f3c1d5717cd buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Wed Jan 17 15:41:39 2007 +0000
+++ b/buildconfigs/mk.linux-2.6-xen     Thu Jan 18 11:08:17 2007 +0800
@@ -8,6 +8,10 @@ LINUX_DIR    = build-linux-$(LINUX_VER)-

 IMAGE_TARGET ?= vmlinuz
 INSTALL_BOOT_PATH ?= $(DESTDIR)
+
+ifeq ($(XEN_TARGET_ARCH),ia64)
+INSTALL_BOOT_PATH := $(DESTDIR)/boot
+endif

 LINUX_VER3  := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER)))



Copy vmlinuz to correct folder when make source in IA64 platform
Signed-off-by, Yongkang You < yongkang.you@xxxxxxxxx >

diff -r 6d832b092857 -r 5f3c1d5717cd buildconfigs/mk.linux-2.6-xen
--- a/buildconfigs/mk.linux-2.6-xen     Wed Jan 17 15:41:39 2007 +0000
+++ b/buildconfigs/mk.linux-2.6-xen     Thu Jan 18 11:08:17 2007 +0800
@@ -8,6 +8,10 @@ LINUX_DIR    = build-linux-$(LINUX_VER)-
 
 IMAGE_TARGET ?= vmlinuz
 INSTALL_BOOT_PATH ?= $(DESTDIR)
+
+ifeq ($(XEN_TARGET_ARCH),ia64)
+INSTALL_BOOT_PATH := $(DESTDIR)/boot
+endif
 
 LINUX_VER3  := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER)))
 
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-ia64-devel] [Patch] Copy Xen0 kernels into right folder by "make" in IA64 platform, Yongkang You <=