[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 02/32] target-xtensa: add target to the configure
From: |
Max Filippov |
Subject: |
[Qemu-devel] [PATCH v4 02/32] target-xtensa: add target to the configure script |
Date: |
Fri, 2 Sep 2011 00:45:30 +0400 |
Signed-off-by: Max Filippov <address@hidden>
---
configure | 12 +++++++++++-
default-configs/xtensa-softmmu.mak | 1 +
default-configs/xtensaeb-softmmu.mak | 1 +
3 files changed, 13 insertions(+), 1 deletions(-)
create mode 100644 default-configs/xtensa-softmmu.mak
create mode 100644 default-configs/xtensaeb-softmmu.mak
diff --git a/configure b/configure
index 1340c33..fe2d4fd 100755
--- a/configure
+++ b/configure
@@ -872,6 +872,8 @@ sh4eb-softmmu \
sparc-softmmu \
sparc64-softmmu \
s390x-softmmu \
+xtensa-softmmu \
+xtensaeb-softmmu \
"
fi
# the following are Linux specific
@@ -3138,7 +3140,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
@@ -3333,6 +3335,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
@@ -3507,6 +3513,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
diff --git a/default-configs/xtensa-softmmu.mak
b/default-configs/xtensa-softmmu.mak
new file mode 100644
index 0000000..e5faa09
--- /dev/null
+++ b/default-configs/xtensa-softmmu.mak
@@ -0,0 +1 @@
+# Default configuration for Xtensa
diff --git a/default-configs/xtensaeb-softmmu.mak
b/default-configs/xtensaeb-softmmu.mak
new file mode 100644
index 0000000..e5faa09
--- /dev/null
+++ b/default-configs/xtensaeb-softmmu.mak
@@ -0,0 +1 @@
+# Default configuration for Xtensa
--
1.7.6
- [Qemu-devel] [PATCH v4 00/32] target-xtensa: new target architecture, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 02/32] target-xtensa: add target to the configure script,
Max Filippov <=
- [Qemu-devel] [PATCH v4 05/32] target-xtensa: implement RT0 group, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 04/32] target-xtensa: implement narrow instructions, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 06/32] target-xtensa: add sample board, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 07/32] target-xtensa: implement conditional jumps, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 03/32] target-xtensa: implement disas_xtensa_insn, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 08/32] target-xtensa: implement JX/RET0/CALLX, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 09/32] target-xtensa: add special and user registers, Max Filippov, 2011/09/01
- [Qemu-devel] [PATCH v4 01/32] target-xtensa: add target stubs, Max Filippov, 2011/09/01