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

[Xen-devel] [PATCH 1 of 2] pass IOEMU_CONFIGURE_CROSS to ioemu-remote/xen-setup



# HG changeset patch
# User Aron Griffis <aron@xxxxxx>
# Date 1217515818 14400
# Node ID be6b349abfb8d1d84618597c5304ab2e0500d5b4
# Parent  05391ca07588c45f5c8dd16c2a470b0d615767b8
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>

diff -r 05391ca07588 -r be6b349abfb8 tools/Makefile
--- a/tools/Makefile    Thu Jul 31 11:14:23 2008 +0100
+++ b/tools/Makefile    Thu Jul 31 10:50:18 2008 -0400
@@ -55,7 +55,8 @@
 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 @@
                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-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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