* [Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA
@ 2011-09-08 1:24 Brad
2011-09-19 17:54 ` Brad
2011-10-01 12:03 ` Blue Swirl
0 siblings, 2 replies; 3+ messages in thread
From: Brad @ 2011-09-08 1:24 UTC (permalink / raw)
To: qemu-devel
configure: Detect predefined compiler symbols for ARM and HPPA
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 c7948b6..3bc6904 100755
--- a/configure
+++ b/configure
@@ -284,6 +284,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
@@ -304,7 +310,7 @@ case "$cpu" in
armv*l)
cpu="armv4l"
;;
- parisc|parisc64)
+ hppa|parisc|parisc64)
cpu="hppa"
;;
mips*)
--
1.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA
2011-09-08 1:24 [Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA Brad
@ 2011-09-19 17:54 ` Brad
2011-10-01 12:03 ` Blue Swirl
1 sibling, 0 replies; 3+ messages in thread
From: Brad @ 2011-09-19 17:54 UTC (permalink / raw)
To: qemu-devel
On 07/09/11 9:24 PM, Brad wrote:
> configure: Detect predefined compiler symbols for ARM and HPPA
>
> 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.
--
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] configure: Detect predefined compiler symbols for ARM and HPPA
2011-09-08 1:24 [Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA Brad
2011-09-19 17:54 ` Brad
@ 2011-10-01 12:03 ` Blue Swirl
1 sibling, 0 replies; 3+ messages in thread
From: Blue Swirl @ 2011-10-01 12:03 UTC (permalink / raw)
To: Brad; +Cc: qemu-devel
Thanks, applied.
On Thu, Sep 8, 2011 at 1:24 AM, Brad <brad@comstyle.com> wrote:
> configure: Detect predefined compiler symbols for ARM and HPPA
>
> 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 c7948b6..3bc6904 100755
> --- a/configure
> +++ b/configure
> @@ -284,6 +284,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
> @@ -304,7 +310,7 @@ case "$cpu" in
> armv*l)
> cpu="armv4l"
> ;;
> - parisc|parisc64)
> + hppa|parisc|parisc64)
> cpu="hppa"
> ;;
> mips*)
> --
> 1.7.6
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-01 12:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-08 1:24 [Qemu-devel] configure: Detect predefined compiler symbols for ARM and HPPA Brad
2011-09-19 17:54 ` Brad
2011-10-01 12:03 ` Blue Swirl
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.