From: Yeongkyoon Lee Date: Wed, 31 Oct 2012 07:04:23 +0000 (+0900) Subject: configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3102 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32761257c0b9fa7ee04d2871a6e48a41f119c469;p=sdk%2Femulator%2Fqemu.git configure: Add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization Enable CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization only when a host is i386 or x86_64. Signed-off-by: Yeongkyoon Lee Signed-off-by: Blue Swirl --- diff --git a/configure b/configure index ba99f67..8e70cbb 100755 --- a/configure +++ b/configure @@ -3881,6 +3881,12 @@ upper() { echo "$@"| LC_ALL=C tr '[a-z]' '[A-Z]' } +case "$cpu" in + i386|x86_64) + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak + ;; +esac + echo "TARGET_SHORT_ALIGNMENT=$target_short_alignment" >> $config_target_mak echo "TARGET_INT_ALIGNMENT=$target_int_alignment" >> $config_target_mak echo "TARGET_LONG_ALIGNMENT=$target_long_alignment" >> $config_target_mak