ia64/xen-unstable

changeset 18227:5340e6d5d559

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>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jul 31 16:13:22 2008 +0100 (2008-07-31)
parents 782c6bddf9be
children 8c45d17127a7
files tools/Makefile
line diff
     1.1 --- a/tools/Makefile	Thu Jul 31 15:38:09 2008 +0100
     1.2 +++ b/tools/Makefile	Thu Jul 31 16:13:22 2008 +0100
     1.3 @@ -55,7 +55,8 @@ install: subdirs-install
     1.4  clean distclean: subdirs-clean
     1.5  
     1.6  ifneq ($(XEN_COMPILE_ARCH),$(XEN_TARGET_ARCH))
     1.7 -IOEMU_CONFIGURE_CROSS ?= --cross-prefix=$(CROSS_COMPILE) \
     1.8 +IOEMU_CONFIGURE_CROSS ?= --cpu=$(XEN_TARGET_ARCH) \
     1.9 +			 --cross-prefix=$(CROSS_COMPILE) \
    1.10  			 --interp-prefix=$(CROSS_SYS_ROOT)
    1.11  endif
    1.12  
    1.13 @@ -96,7 +97,7 @@ ioemu-dir-find:
    1.14  		esac; \
    1.15  		export XEN_ROOT; \
    1.16  		cd ioemu-dir; \
    1.17 -		./xen-setup
    1.18 +		./xen-setup $(IOEMU_CONFIGURE_CROSS)
    1.19  
    1.20  subdir-all-ioemu-dir subdir-install-ioemu-dir: ioemu-dir-find
    1.21