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

[XenPPC] [xenppc-unstable] [powerpc] add PowerPC support to Makefiles

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [xenppc-unstable] [powerpc] add PowerPC support to Makefiles
From: Xen patchbot-xenppc-unstable <patchbot-xenppc-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jul 2006 11:26:19 +0000
Delivery-date: Fri, 28 Jul 2006 05:29:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# 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-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [xenppc-unstable] [powerpc] add PowerPC support to Makefiles, Xen patchbot-xenppc-unstable <=