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

[Xen-changelog] [xen-unstable] pass IOEMU_CONFIGURE_CROSS to ioemu-remote/xen-setup



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1217517202 -3600
# Node ID 5340e6d5d559b6b2b5abb7a8628e6d6feec8fa5e
# Parent  782c6bddf9be411d7ec30e4fd074d52bf508e320
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@xxxxxx>
---
 tools/Makefile |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff -r 782c6bddf9be -r 5340e6d5d559 tools/Makefile
--- a/tools/Makefile    Thu Jul 31 15:38:09 2008 +0100
+++ b/tools/Makefile    Thu Jul 31 16:13:22 2008 +0100
@@ -55,7 +55,8 @@ clean distclean: subdirs-clean
 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
 

_______________________________________________
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®.