target-xtensa: add target to the configure script
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
2328826b1d
commit
cfa550c6ac
12
configure
vendored
12
configure
vendored
@ -873,6 +873,8 @@ sh4eb-softmmu \
|
||||
sparc-softmmu \
|
||||
sparc64-softmmu \
|
||||
s390x-softmmu \
|
||||
xtensa-softmmu \
|
||||
xtensaeb-softmmu \
|
||||
"
|
||||
fi
|
||||
# the following are Linux specific
|
||||
@ -3150,7 +3152,7 @@ target_arch2=`echo $target | cut -d '-' -f 1`
|
||||
target_bigendian="no"
|
||||
|
||||
case "$target_arch2" in
|
||||
armeb|lm32|m68k|microblaze|mips|mipsn32|mips64|ppc|ppcemb|ppc64|ppc64abi32|s390x|sh4eb|sparc|sparc64|sparc32plus)
|
||||
armeb|lm32|m68k|microblaze|mips|mipsn32|mips64|ppc|ppcemb|ppc64|ppc64abi32|s390x|sh4eb|sparc|sparc64|sparc32plus|xtensaeb)
|
||||
target_bigendian=yes
|
||||
;;
|
||||
esac
|
||||
@ -3345,6 +3347,10 @@ case "$target_arch2" in
|
||||
unicore32)
|
||||
target_phys_bits=32
|
||||
;;
|
||||
xtensa|xtensaeb)
|
||||
TARGET_ARCH=xtensa
|
||||
target_phys_bits=32
|
||||
;;
|
||||
*)
|
||||
echo "Unsupported target CPU"
|
||||
exit 1
|
||||
@ -3519,6 +3525,10 @@ for i in $ARCH $TARGET_BASE_ARCH ; do
|
||||
echo "CONFIG_SPARC_DIS=y" >> $config_target_mak
|
||||
echo "CONFIG_SPARC_DIS=y" >> $libdis_config_mak
|
||||
;;
|
||||
xtensa*)
|
||||
echo "CONFIG_XTENSA_DIS=y" >> $config_target_mak
|
||||
echo "CONFIG_XTENSA_DIS=y" >> $libdis_config_mak
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
1
default-configs/xtensa-softmmu.mak
Normal file
1
default-configs/xtensa-softmmu.mak
Normal file
@ -0,0 +1 @@
|
||||
# Default configuration for Xtensa
|
1
default-configs/xtensaeb-softmmu.mak
Normal file
1
default-configs/xtensaeb-softmmu.mak
Normal file
@ -0,0 +1 @@
|
||||
# Default configuration for Xtensa
|
Loading…
Reference in New Issue
Block a user