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