|
From: | Brad |
Subject: | Re: [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems. |
Date: | Wed, 15 Jun 2011 13:05:12 -0400 |
User-agent: | Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 |
On 25/05/11 11:06 PM, Brad wrote:
Use predefined compiler symbols to try and detect ARM or HPPA systems to be able to detect some ARM / HPPA based architectures such as with OpenBSD/(armish / zaurus) or OpenBSD/hppa. Signed-off-by: Brad Smith<address@hidden>
ping.
--- configure | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/configure b/configure index a318d37..97b28f8 100755 --- a/configure +++ b/configure @@ -280,6 +280,12 @@ elif check_define __s390__ ; then else cpu="s390" fi +elif check_define __ARMEB__ ; then + cpu="armv4b" +elif check_define __ARMEL__ ; then + cpu="armv4l" +elif check_define __hppa__ ; then + cpu="hppa" else cpu=`uname -m` fi @@ -300,7 +306,7 @@ case "$cpu" in armv*l) cpu="armv4l" ;; - parisc|parisc64) + hppa|parisc|parisc64) cpu="hppa" ;; mips*)
-- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
[Prev in Thread] | Current Thread | [Next in Thread] |