From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:36763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0j1D-0002yD-Mm for qemu-devel@nongnu.org; Mon, 05 Sep 2011 19:56:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R0j1B-0003GM-Gu for qemu-devel@nongnu.org; Mon, 05 Sep 2011 19:55:59 -0400 Received: from [188.134.19.124] (port=53284 helo=octofox.metropolis) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R0j1B-0003G0-4w for qemu-devel@nongnu.org; Mon, 05 Sep 2011 19:55:57 -0400 From: Max Filippov Date: Tue, 6 Sep 2011 03:55:26 +0400 Message-Id: <1315266957-22979-3-git-send-email-jcmvbkbc@gmail.com> In-Reply-To: <1315266957-22979-1-git-send-email-jcmvbkbc@gmail.com> References: <1315266957-22979-1-git-send-email-jcmvbkbc@gmail.com> Subject: [Qemu-devel] [PATCH v5 02/33] target-xtensa: add target to the configure script List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: jcmvbkbc@gmail.com Signed-off-by: Max Filippov --- 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 c3044c7..164c7a8 100755 --- a/configure +++ b/configure @@ -873,6 +873,8 @@ sh4eb-softmmu \ sparc-softmmu \ sparc64-softmmu \ s390x-softmmu \ +xtensa-softmmu \ +xtensaeb-softmmu \ " fi # the following are Linux specific @@ -3151,7 +3153,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 @@ -3346,6 +3348,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 @@ -3520,6 +3526,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