[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] tools: gpxe build fix for NetBSD



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1279548620 -3600
# Node ID 785873d52123b6ab36ba5070a04ef01ac2760d9f
# Parent  4514d5890692989aa78c54a1a283d1b3bcc6fe46
tools: gpxe build fix for NetBSD

Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
 tools/firmware/etherboot/patches/Makefile.patch |    9 +++++++++
 tools/firmware/etherboot/patches/series         |    1 +
 2 files changed, 10 insertions(+)

diff -r 4514d5890692 -r 785873d52123 
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 15:10:20 
2010 +0100
@@ -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 -r 4514d5890692 -r 785873d52123 tools/firmware/etherboot/patches/series
--- a/tools/firmware/etherboot/patches/series   Fri Jul 16 17:44:04 2010 +0100
+++ b/tools/firmware/etherboot/patches/series   Mon Jul 19 15:10:20 2010 +0100
@@ -1,1 +1,2 @@ boot_prompt_option.patch
+Makefile.patch
 boot_prompt_option.patch

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.