qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems.
@ 2011-05-26  3:06 Brad
  2011-06-15 17:05 ` Brad
  2011-06-16  0:11 ` Andreas Färber
  0 siblings, 2 replies; 3+ messages in thread
From: Brad @ 2011-05-26  3:06 UTC (permalink / raw)
  To: qemu-devel

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 <brad@comstyle.com>

---
 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*)
-- 
1.7.5

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems.
  2011-05-26  3:06 [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems Brad
@ 2011-06-15 17:05 ` Brad
  2011-06-16  0:11 ` Andreas Färber
  1 sibling, 0 replies; 3+ messages in thread
From: Brad @ 2011-06-15 17:05 UTC (permalink / raw)
  To: qemu-devel

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<brad@comstyle.com>

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems.
  2011-05-26  3:06 [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems Brad
  2011-06-15 17:05 ` Brad
@ 2011-06-16  0:11 ` Andreas Färber
  1 sibling, 0 replies; 3+ messages in thread
From: Andreas Färber @ 2011-06-16  0:11 UTC (permalink / raw)
  To: Brad; +Cc: qemu-devel

Am 26.05.2011 um 05:06 schrieb Brad:

> Use predefined compiler symbols to try and detect ARM or HPPA systems

Subject could be sth. like: "configure: Detect predefined compiler  
symbols for ARM and HPPA"
No need to duplicate the first half of the sentence. Otherwise looks  
okay, untested.

Andreas

> to be able to detect some ARM / HPPA based architectures such as with
> OpenBSD/(armish / zaurus) or OpenBSD/hppa.
>
> Signed-off-by: Brad Smith <brad@comstyle.com>
>
> ---
> 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*)
> -- 
> 1.7.5
>
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-16  0:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26  3:06 [Qemu-devel] [PATCH 3/3] Use predefined compiler symbols to try and detect ARM or HPPA systems Brad
2011-06-15 17:05 ` Brad
2011-06-16  0:11 ` Andreas Färber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).