aboutsummaryrefslogtreecommitdiffstats
path: root/Config.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-10-19 14:49:08 +0100
committerKeir Fraser <keir@xensource.com>2007-10-19 14:49:08 +0100
commita9931381f987fa11d0ad687a73bae9a36a24dfc6 (patch)
tree98e1ce9c0a7215fe1d393c303c55f48c95e0e92d /Config.mk
parent02ae00123e864a93b4dfbc48b9c2d04a4d131aba (diff)
downloadxen-a9931381f987fa11d0ad687a73bae9a36a24dfc6.tar.gz
xen-a9931381f987fa11d0ad687a73bae9a36a24dfc6.tar.bz2
xen-a9931381f987fa11d0ad687a73bae9a36a24dfc6.zip
Fix x86/64 build for *BSD.
- Config.mk: uname -m prints "amd64". Deal with this. - do not assume python is always in /usr/bin - get-fields.sh: make it portable and non-bash specific Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'Config.mk')
-rw-r--r--Config.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Config.mk b/Config.mk
index 909e21787e..d79d7184a1 100644
--- a/Config.mk
+++ b/Config.mk
@@ -4,7 +4,8 @@
debug ?= n
XEN_COMPILE_ARCH ?= $(shell uname -m | sed -e s/i.86/x86_32/ \
- -e s/ppc/powerpc/ -e s/i86pc/x86_32/)
+ -e s/ppc/powerpc/ -e s/i86pc/x86_32/ \
+ -e s/amd64/x86_64/)
XEN_TARGET_ARCH ?= $(XEN_COMPILE_ARCH)
XEN_OS ?= $(shell uname -s)