diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2010-07-19 15:10:20 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2010-07-19 15:10:20 +0100 |
commit | ba01489a101db7c71b45dec10c734d7882c1a235 (patch) | |
tree | 155e0342c87abf7402d7fdc4f7d4f6e25a799576 /tools/firmware | |
parent | be0ec5b617d484992bd78eb6a4e38309b2d642c6 (diff) | |
download | xen-ba01489a101db7c71b45dec10c734d7882c1a235.tar.gz xen-ba01489a101db7c71b45dec10c734d7882c1a235.tar.bz2 xen-ba01489a101db7c71b45dec10c734d7882c1a235.zip |
tools: gpxe build fix for NetBSD
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/firmware')
-rw-r--r-- | tools/firmware/etherboot/patches/Makefile.patch | 12 | ||||
-rw-r--r-- | tools/firmware/etherboot/patches/series | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/tools/firmware/etherboot/patches/Makefile.patch b/tools/firmware/etherboot/patches/Makefile.patch new file mode 100644 index 0000000000..d56825b264 --- /dev/null +++ b/tools/firmware/etherboot/patches/Makefile.patch @@ -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,i86pc,x86_32, -e s,amd64,x86_64,) + + # handle x86_64 like i386, but set -m32 option for 32bit code only + ifeq ($(ARCH),x86_64) diff --git a/tools/firmware/etherboot/patches/series b/tools/firmware/etherboot/patches/series index 86cb300865..f76e6bef75 100644 --- a/tools/firmware/etherboot/patches/series +++ b/tools/firmware/etherboot/patches/series @@ -1 +1,2 @@ +Makefile.patch boot_prompt_option.patch |