mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
unicore32: necessary modifications for other files to support unicore32
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
8b5d487d4d
commit
d2fbca9422
10 changed files with 202 additions and 14 deletions
11
configure
vendored
11
configure
vendored
|
@ -283,7 +283,7 @@ else
|
|||
fi
|
||||
|
||||
case "$cpu" in
|
||||
alpha|cris|ia64|lm32|m68k|microblaze|ppc|ppc64|sparc64)
|
||||
alpha|cris|ia64|lm32|m68k|microblaze|ppc|ppc64|sparc64|unicore32)
|
||||
cpu="$cpu"
|
||||
;;
|
||||
i386|i486|i586|i686|i86pc|BePC)
|
||||
|
@ -814,6 +814,9 @@ case "$cpu" in
|
|||
hppa*)
|
||||
host_guest_base="yes"
|
||||
;;
|
||||
unicore32*)
|
||||
host_guest_base="yes"
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -z "$guest_base" ] && guest_base="$host_guest_base"
|
||||
|
@ -1048,6 +1051,7 @@ sh4eb-linux-user \
|
|||
sparc-linux-user \
|
||||
sparc64-linux-user \
|
||||
sparc32plus-linux-user \
|
||||
unicore32-linux-user \
|
||||
"
|
||||
fi
|
||||
# the following are Darwin specific
|
||||
|
@ -2633,7 +2637,7 @@ echo "docdir=$docdir" >> $config_host_mak
|
|||
echo "confdir=$confdir" >> $config_host_mak
|
||||
|
||||
case "$cpu" in
|
||||
i386|x86_64|alpha|cris|hppa|ia64|lm32|m68k|microblaze|mips|mips64|ppc|ppc64|s390|s390x|sparc|sparc64)
|
||||
i386|x86_64|alpha|cris|hppa|ia64|lm32|m68k|microblaze|mips|mips64|ppc|ppc64|s390|s390x|sparc|sparc64|unicore32)
|
||||
ARCH=$cpu
|
||||
;;
|
||||
armv4b|armv4l)
|
||||
|
@ -3186,6 +3190,9 @@ case "$target_arch2" in
|
|||
target_phys_bits=64
|
||||
target_long_alignment=8
|
||||
;;
|
||||
unicore32)
|
||||
target_phys_bits=32
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported target CPU"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue