From: Simon Horman <horms@verge.net.au>
To: Christoph Egger <Christoph.Egger@amd.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: [PATCH] tools: gpxe build fix
Date: Tue, 20 Jul 2010 16:50:32 +0900 [thread overview]
Message-ID: <20100720075032.GB19483@verge.net.au> (raw)
In-Reply-To: <201007191425.37006.Christoph.Egger@amd.com>
On Mon, Jul 19, 2010 at 02:25:36PM +0200, Christoph Egger wrote:
>
> Hi!
>
> On NetBSD, uname -m prints 'amd64'.
> Attached patch makes gpxe aware of that.
>
> Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
>
> --
> ---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
> 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,)
How about ... sed -e 's,\(i[3456789]86\|amd64\),i386,')
> +
> + # 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
Is this a separate change?
next prev parent reply other threads:[~2010-07-20 7:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 12:25 [PATCH] tools: gpxe build fix Christoph Egger
2010-07-20 7:50 ` Simon Horman [this message]
2010-07-21 15:41 ` Ian Jackson
2010-07-21 16:02 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100720075032.GB19483@verge.net.au \
--to=horms@verge.net.au \
--cc=Christoph.Egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).