提交 cfa550c6 编写于 作者: M Max Filippov 提交者: Blue Swirl

target-xtensa: add target to the configure script

Signed-off-by: NMax Filippov <jcmvbkbc@gmail.com>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 2328826b
...@@ -873,6 +873,8 @@ sh4eb-softmmu \ ...@@ -873,6 +873,8 @@ sh4eb-softmmu \
sparc-softmmu \ sparc-softmmu \
sparc64-softmmu \ sparc64-softmmu \
s390x-softmmu \ s390x-softmmu \
xtensa-softmmu \
xtensaeb-softmmu \
" "
fi fi
# the following are Linux specific # the following are Linux specific
...@@ -3150,7 +3152,7 @@ target_arch2=`echo $target | cut -d '-' -f 1` ...@@ -3150,7 +3152,7 @@ target_arch2=`echo $target | cut -d '-' -f 1`
target_bigendian="no" target_bigendian="no"
case "$target_arch2" in 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 target_bigendian=yes
;; ;;
esac esac
...@@ -3345,6 +3347,10 @@ case "$target_arch2" in ...@@ -3345,6 +3347,10 @@ case "$target_arch2" in
unicore32) unicore32)
target_phys_bits=32 target_phys_bits=32
;; ;;
xtensa|xtensaeb)
TARGET_ARCH=xtensa
target_phys_bits=32
;;
*) *)
echo "Unsupported target CPU" echo "Unsupported target CPU"
exit 1 exit 1
...@@ -3519,6 +3525,10 @@ for i in $ARCH $TARGET_BASE_ARCH ; do ...@@ -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" >> $config_target_mak
echo "CONFIG_SPARC_DIS=y" >> $libdis_config_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 esac
done done
......
# Default configuration for Xtensa
# Default configuration for Xtensa
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册