@@ -1028,6 +1028,7 @@ sh4-softmmu \
sh4eb-softmmu \
sparc-softmmu \
sparc64-softmmu \
+xtensa-softmmu \
"
fi
# the following are Linux specific
@@ -3210,6 +3211,10 @@ case "$target_arch2" in
unicore32)
target_phys_bits=32
;;
+ xtensa)
+ TARGET_ARCH=xtensa
+ target_phys_bits=32
+ ;;
*)
echo "Unsupported target CPU"
exit 1
@@ -3385,6 +3390,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
new file mode 100644
@@ -0,0 +1 @@
+# Default configuration for Xtensa
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> --- configure | 9 +++++++++ default-configs/xtensa-softmmu.mak | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 default-configs/xtensa-softmmu.mak