|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [powerpc] add PowerPC support to Makefile
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 35a29c8f0bab4b6efd01be8d66c142b9131f71ec
# Parent 516ff6908472b581cfd2854188942e6397a6a0a0
[powerpc] add PowerPC support to Makefiles
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>
---
Config.mk | 4 ++--
xen/Rules.mk | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff -r 516ff6908472 -r 35a29c8f0bab Config.mk
--- a/Config.mk Fri Jul 14 10:21:57 2006 +0100
+++ b/Config.mk Fri Jul 14 10:22:40 2006 +0100
@@ -3,8 +3,8 @@
# A debug build of Xen and tools?
debug ?= n
-# Currently supported architectures: x86_32, x86_64
-XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/)
+XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/ \
+ -e s/ppc/powerpc/)
XEN_TARGET_ARCH ?= $(XEN_COMPILE_ARCH)
XEN_TARGET_X86_PAE ?= n
diff -r 516ff6908472 -r 35a29c8f0bab xen/Rules.mk
--- a/xen/Rules.mk Fri Jul 14 10:21:57 2006 +0100
+++ b/xen/Rules.mk Fri Jul 14 10:22:40 2006 +0100
@@ -23,8 +23,10 @@ include $(XEN_ROOT)/Config.mk
# Set ARCH/SUBARCH appropriately.
override COMPILE_SUBARCH := $(XEN_COMPILE_ARCH)
override TARGET_SUBARCH := $(XEN_TARGET_ARCH)
-override COMPILE_ARCH := $(patsubst x86%,x86,$(XEN_COMPILE_ARCH))
-override TARGET_ARCH := $(patsubst x86%,x86,$(XEN_TARGET_ARCH))
+override COMPILE_ARCH := $(shell echo $(XEN_COMPILE_ARCH) | \
+ sed -e 's/\(x86\|powerpc\).*/\1/')
+override TARGET_ARCH := $(shell echo $(XEN_TARGET_ARCH) | \
+ sed -e 's/\(x86\|powerpc\).*/\1/')
TARGET := $(BASEDIR)/xen
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [powerpc] add PowerPC support to Makefiles,
Xen patchbot-unstable <=
|
|
|
|
|