From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2Ru-0004dU-Jo for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:44:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UN2Rs-0002lF-G0 for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:44:34 -0400 Received: from mail-ea0-x236.google.com ([2a00:1450:4013:c01::236]:46102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UN2Rs-0002jG-30 for qemu-devel@nongnu.org; Tue, 02 Apr 2013 10:44:32 -0400 Received: by mail-ea0-f182.google.com with SMTP id q15so269198ead.13 for ; Tue, 02 Apr 2013 07:44:31 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 2 Apr 2013 16:44:18 +0200 Message-Id: <1364913860-25159-4-git-send-email-pbonzini@redhat.com> In-Reply-To: <1364913860-25159-1-git-send-email-pbonzini@redhat.com> References: <1364913860-25159-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 3/5] configure: move CONFIG_QEMU_LDST_OPTIMIZATION to config-host.mak List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Its value is the same for all targets. Signed-off-by: Paolo Bonzini --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure b/configure index 5d9a87e..629f70b 100755 --- a/configure +++ b/configure @@ -3481,6 +3481,15 @@ echo "extra_ldflags=$EXTRA_LDFLAGS" >> $config_host_mak echo "qemu_localedir=$qemu_localedir" >> $config_host_mak echo "ARCH=$ARCH" >> $config_host_mak + +case "$cpu" in + i386|x86_64|ppc) + # The TCG interpreter currently does not support ld/st optimization. + if test "$tcg_interpreter" = "no" ; then + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_host_mak + fi + ;; +esac if test "$debug_tcg" = "yes" ; then echo "CONFIG_DEBUG_TCG=y" >> $config_host_mak fi @@ -4133,15 +4142,6 @@ upper() { echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]' } -case "$cpu" in - i386|x86_64|ppc) - # The TCG interpreter currently does not support ld/st optimization. - if test "$tcg_interpreter" = "no" ; then - echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak - fi - ;; -esac - echo "TARGET_ARCH=$TARGET_ARCH" >> $config_target_mak target_arch_name="`upper $TARGET_ARCH`" echo "TARGET_$target_arch_name=y" >> $config_target_mak -- 1.8.1.4