aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/Makefile
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 /xen/include/Makefile
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 'xen/include/Makefile')
-rw-r--r--xen/include/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/Makefile b/xen/include/Makefile
index 0b1d38231c..2d0d810469 100644
--- a/xen/include/Makefile
+++ b/xen/include/Makefile
@@ -61,7 +61,7 @@ compat/%.c: public/%.h xlat.lst Makefile
compat/xlat.h: xlat.lst $(filter-out compat/xlat.h,$(headers-y)) $(BASEDIR)/tools/get-fields.sh Makefile
grep -v '^[ ]*#' xlat.lst | \
while read what name hdr; do \
- /bin/bash $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \
+ /bin/sh $(BASEDIR)/tools/get-fields.sh "$$what" compat_$$name $$(echo compat/$$hdr | sed 's,@arch@,$(compat-arch-y),g') || exit $$?; \
done >$@.new
mv -f $@.new $@