From: Christoph Egger Subject: [PATCH] tools: gpxe build fix Date: Mon, 19 Jul 2010 14:25:36 +0200 Message-ID: <201007191425.37006.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_ARERMOT1hgv/gy6" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_ARERMOT1hgv/gy6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! On NetBSD, uname -m prints 'amd64'. Attached patch makes gpxe aware of that. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --Boundary-00=_ARERMOT1hgv/gy6 Content-Type: text/x-diff; charset="iso 8859-15"; name="xen_tools_gpxe.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_tools_gpxe.diff" diff -r eec4447a500c tools/firmware/etherboot/patches/Makefile.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tools/firmware/etherboot/patches/Makefile.patch Mon Jul 19 14:22:14 2010 +0200 @@ -0,0 +1,12 @@ +--- a/src/Makefile.orig 2010-07-19 13:09:06.000000000 +0200 ++++ b/src/Makefile 2010-07-19 13:04:11.000000000 +0200 +@@ -71,7 +71,8 @@ noargs : blib $(BIN)/NIC $(BIN)/gpxe.dsk + # If no architecture is specified in Config or on the command-line, + # use that of the build machine. + # +-ARCH ?= $(shell uname -m | sed -e s,i[3456789]86,i386,) ++ARCH ?= $(shell uname -m | sed -e s,i[3456789]86,i386, \ ++ -e s,amd64,x86_64,) + + # handle x86_64 like i386, but set -m32 option for 32bit code only + ifeq ($(ARCH),x86_64) diff -r eec4447a500c tools/firmware/etherboot/patches/series --- a/tools/firmware/etherboot/patches/series Mon Jul 19 12:58:28 2010 +0200 +++ b/tools/firmware/etherboot/patches/series Mon Jul 19 14:22:14 2010 +0200 @@ -1,1 +1,2 @@ +Makefile.patch boot_prompt_option.patch --Boundary-00=_ARERMOT1hgv/gy6 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_ARERMOT1hgv/gy6--