From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:46505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USTKX-0006Df-Fj for qemu-devel@nongnu.org; Wed, 17 Apr 2013 10:27:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USTKS-0005bn-Sa for qemu-devel@nongnu.org; Wed, 17 Apr 2013 10:27:25 -0400 Received: from mail-ea0-x233.google.com ([2a00:1450:4013:c01::233]:48742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USTKS-0005a7-MK for qemu-devel@nongnu.org; Wed, 17 Apr 2013 10:27:20 -0400 Received: by mail-ea0-f179.google.com with SMTP id h14so10816eaj.10 for ; Wed, 17 Apr 2013 07:27:20 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 17 Apr 2013 16:26:43 +0200 Message-Id: <1366208807-4433-10-git-send-email-pbonzini@redhat.com> In-Reply-To: <1366208807-4433-1-git-send-email-pbonzini@redhat.com> References: <1366208807-4433-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 09/13] 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 Cc: peter.maydell@linaro.org, edgar.iglesias@gmail.com Reviewed-by: Peter Maydell Signed-off-by: Paolo Bonzini --- configure | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/configure b/configure index f4bfa14..1495214 100755 --- a/configure +++ b/configure @@ -3587,6 +3587,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 @@ -4250,15 +4259,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