aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-07-31 16:13:22 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-07-31 16:13:22 +0100
commit0f740527862972f8998dbb4a734d8c0c1baa01d2 (patch)
treefe81e1e84c6a2ba3e7e3c2856b324b01680ecd22 /tools
parent00a02b0a94cccf86406564034a8d22cf57e179ed (diff)
downloadxen-0f740527862972f8998dbb4a734d8c0c1baa01d2.tar.gz
xen-0f740527862972f8998dbb4a734d8c0c1baa01d2.tar.bz2
xen-0f740527862972f8998dbb4a734d8c0c1baa01d2.zip
pass IOEMU_CONFIGURE_CROSS to ioemu-remote/xen-setup
Add --cpu to IOEMU_CONFIGURE_CROSS since otherwise qemu uses the output of `uname -m` even for cross-building. Pass IOEMU_CONFIGURE_CROSS to xen-setup which passes it on to ioemu/configure. Signed-off-by: Aron Griffis <aron@hp.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/Makefile b/tools/Makefile
index ff4175de9e..bcc9fb8d0a 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -55,7 +55,8 @@ install: subdirs-install
clean distclean: subdirs-clean
ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
-IOEMU_CONFIGURE_CROSS ?= --cross-prefix=$(CROSS_COMPILE) \
+IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \
+ --cross-prefix=$(CROSS_COMPILE) \
--interp-prefix=$(CROSS_SYS_ROOT)
endif
@@ -96,7 +97,7 @@ ioemu-dir-find:
esac; \
export XEN_ROOT; \
cd ioemu-dir; \
- ./xen-setup
+ ./xen-setup $(IOEMU_CONFIGURE_CROSS)
subdir-all-ioemu-dir subdir-install-ioemu-dir: ioemu-dir-find