From patchwork Wed May 4 00:59:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Max Filippov X-Patchwork-Id: 93935 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C3FD4B6F59 for ; Wed, 4 May 2011 11:00:34 +1000 (EST) Received: from localhost ([::1]:49984 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHQS5-0003wz-Sy for incoming@patchwork.ozlabs.org; Tue, 03 May 2011 21:00:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]:52854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHQRd-0003vz-KR for qemu-devel@nongnu.org; Tue, 03 May 2011 21:00:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QHQRc-0000Xc-O9 for qemu-devel@nongnu.org; Tue, 03 May 2011 21:00:01 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:61142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QHQRc-0000XS-IJ for qemu-devel@nongnu.org; Tue, 03 May 2011 21:00:00 -0400 Received: by eyb6 with SMTP id 6so222883eyb.4 for ; Tue, 03 May 2011 17:59:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=SlySh9+zXDJt8VhqkiLkD5E8nFRVhvHcG4Iio2bpE2U=; b=lDdHo85oKar7sy2BzNv0HdHEuUlngZ+tzlGsuFpr4FcZz66PsQWdArWiVk3XWuXADi YMsUW86+LR5lIVHUEtadFUcIYrGHK4jws5AfF7l9U+0AcNg56tB8Ua9j0iVDVs9cbiep PQG8R7JZP9wUwgK2Uhij6hN3mIcVp+wZ2bXzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; b=rDjlmWHTfwLMjdBcR7/gcJjLX9yEF//oHI/qDKPZon5gILRzyNJr0zBhkt6eE/lc/o PATD/aWoMVRwPd5JGcJKvyRz2Ufw32Xt88wxyqD1YlCL0BU0sF/fLvvjKIG58BrI8REm GAwtvrW5Tx3tXhMoRwhaqY4CF66Q2jQgeOW9Y= Received: by 10.14.19.210 with SMTP id n58mr230135een.143.1304470799750; Tue, 03 May 2011 17:59:59 -0700 (PDT) Received: from octofox.metropolis ([188.134.19.124]) by mx.google.com with ESMTPS id c14sm440100eeb.11.2011.05.03.17.59.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 May 2011 17:59:59 -0700 (PDT) Received: by octofox.metropolis (sSMTP sendmail emulation); Wed, 4 May 2011 04:59:57 +0400 From: Max Filippov To: qemu-devel@nongnu.org Date: Wed, 4 May 2011 04:59:02 +0400 Message-Id: <1304470768-16924-2-git-send-email-jcmvbkbc@gmail.com> X-Mailer: git-send-email 1.7.3.4 In-Reply-To: <1304470768-16924-1-git-send-email-jcmvbkbc@gmail.com> References: <1304470768-16924-1-git-send-email-jcmvbkbc@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.173 Cc: Max Filippov Subject: [Qemu-devel] [RFC 02/28] target-xtensa: add target to the configure script X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Max Filippov --- configure | 9 +++++++++ default-configs/xtensa-softmmu.mak | 1 + 2 files changed, 10 insertions(+), 0 deletions(-) create mode 100644 default-configs/xtensa-softmmu.mak diff --git a/configure b/configure index 6f75e2e..d8c33b9 100755 --- a/configure +++ b/configure @@ -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 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