From: Bastian Blank Subject: [PATCH] ioemu - Use XEN_TARGET_ARCH Date: Tue, 22 Jan 2008 14:29:23 +0100 Message-ID: <20080122132923.GA22493@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1979234068==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1979234068== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline # HG changeset patch # User Bastian Blank # Date 1200753844 -3600 # Node ID a348c9b413689c85e3d29109589b2d9257997706 # Parent 42fca43eee53d9e594f36f14919082ad3fcdeadb Use XEN_TARGET_ARCH instead of uname -m. Signed-off-by: Bastian Blank diff -r 42fca43eee53 -r a348c9b41368 tools/Makefile --- a/tools/Makefile Sat Jan 19 13:21:56 2008 +0100 +++ b/tools/Makefile Sat Jan 19 15:44:04 2008 +0100 @@ -68,7 +68,7 @@ export IOEMU_DIR ?= ioemu export IOEMU_DIR ?= ioemu ioemu ioemuinstall: [ -f $(IOEMU_DIR)/config-host.mak ] || \ - (cd $(IOEMU_DIR) && sh configure --prefix=/usr) + (cd $(IOEMU_DIR) && XEN_TARGET_ARCH=$(XEN_TARGET_ARCH) sh configure --prefix=/usr) $(MAKE) -C $(IOEMU_DIR) $(patsubst ioemu%,%,$@) ioemuclean: $(MAKE) -C $(IOEMU_DIR) distclean diff -r 42fca43eee53 -r a348c9b41368 tools/ioemu/configure --- a/tools/ioemu/configure Sat Jan 19 13:21:56 2008 +0100 +++ b/tools/ioemu/configure Sat Jan 19 15:44:04 2008 +0100 @@ -29,43 +29,15 @@ make="make" make="make" install="install" strip="strip" -cpu=`uname -m` target_list="" -case "$cpu" in - i386|i486|i586|i686|i86pc|BePC) +case "$XEN_TARGET_ARCH" in + x86_32) cpu="i386" ;; - armv*b) - cpu="armv4b" - ;; - armv*l) - cpu="armv4l" - ;; - alpha) - cpu="alpha" - ;; - "Power Macintosh"|ppc|ppc64) + powerpc) cpu="powerpc" ;; - mips) - cpu="mips" - ;; - s390) - cpu="s390" - ;; - sparc|sun4[muv]) - cpu="sparc" - ;; - sparc64) - cpu="sparc64" - ;; - ia64) - cpu="ia64" - ;; - m68k) - cpu="m68k" - ;; - x86_64|amd64) + x86_64) cpu="x86_64" libdir="lib64" ;; --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iEYEARECAAYFAkeV77MACgkQnw66O/MvCNH0MACgg6ydGPDVoiMSuojXPaKo3Zhj qI8An2drEkmm1Jm4+MRDM3a4rH/AwLfP =kyxk -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- --===============1979234068== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1979234068==--