mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
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> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
7f6f0ae5b9
commit
f28ffed52c
1 changed files with 7 additions and 1 deletions
8
configure
vendored
8
configure
vendored
|
@ -284,6 +284,12 @@ elif check_define __s390__ ; then
|
||||||
else
|
else
|
||||||
cpu="s390"
|
cpu="s390"
|
||||||
fi
|
fi
|
||||||
|
elif check_define __ARMEB__ ; then
|
||||||
|
cpu="armv4b"
|
||||||
|
elif check_define __ARMEL__ ; then
|
||||||
|
cpu="armv4l"
|
||||||
|
elif check_define __hppa__ ; then
|
||||||
|
cpu="hppa"
|
||||||
else
|
else
|
||||||
cpu=`uname -m`
|
cpu=`uname -m`
|
||||||
fi
|
fi
|
||||||
|
@ -304,7 +310,7 @@ case "$cpu" in
|
||||||
armv*l)
|
armv*l)
|
||||||
cpu="armv4l"
|
cpu="armv4l"
|
||||||
;;
|
;;
|
||||||
parisc|parisc64)
|
hppa|parisc|parisc64)
|
||||||
cpu="hppa"
|
cpu="hppa"
|
||||||
;;
|
;;
|
||||||
mips*)
|
mips*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue