|
|
|
|
|
|
|
|
|
|
xen-ia64-devel
[Xen-ia64-devel] Copy Xen0 kernels into right folder by "make"
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
INSTALL_BOOT_PATH ?= $(DESTDIR)
+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)
+INSTALL_BOOT_PATH := $(INSTALL_BOOT_PATH)/boot
+endif
+
LINUX_VER3 := $(LINUX_SERIES).$(word 3, $(subst ., ,$(LINUX_VER)))
include buildconfigs/Rules.mk
_______________________________________________
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] Copy Xen0 kernels into right folder by "make",
Yongkang You <=
|
|
|
|
|