[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/6] Refactor config_softfloat selection in another
From: |
quintela |
Subject: |
[Qemu-devel] [PATCH 5/6] Refactor config_softfloat selection in another list |
Date: |
Wed, 15 Jul 2009 17:26:33 +0200 |
From: Juan Quintela <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
configure | 27 +++++++--------------------
1 files changed, 7 insertions(+), 20 deletions(-)
diff --git a/configure b/configure
index f0b3b6c..d4215d3 100755
--- a/configure
+++ b/configure
@@ -2062,26 +2062,13 @@ if test ! -z "$gdb_xml_files" ; then
fi
echo "TARGET_XML_FILES=$list" >> $config_mak
-if test "$target_arch2" = "arm" \
- -o "$target_arch2" = "armeb" \
- -o "$target_arch2" = "m68k" \
- -o "$target_arch2" = "microblaze" \
- -o "$target_arch2" = "mips" \
- -o "$target_arch2" = "mipsel" \
- -o "$target_arch2" = "mipsn32" \
- -o "$target_arch2" = "mipsn32el" \
- -o "$target_arch2" = "mips64" \
- -o "$target_arch2" = "mips64el" \
- -o "$target_arch2" = "ppc" \
- -o "$target_arch2" = "ppc64" \
- -o "$target_arch2" = "ppc64abi32" \
- -o "$target_arch2" = "ppcemb" \
- -o "$target_arch2" = "sparc" \
- -o "$target_arch2" = "sparc64" \
- -o "$target_arch2" = "sparc32plus"; then
- echo "CONFIG_SOFTFLOAT=y" >> $config_mak
- echo "#define CONFIG_SOFTFLOAT 1" >> $config_h
-fi
+case "$target_arch2" in
+
arm|armeb|m68k|microblaze|mips|mipsel|mipsn32|mipsn32el|mips64|mips64el|ppc|ppc64|ppc64abi32|ppcemb|sparc|sparc64|sparc32plus)
+ echo "CONFIG_SOFTFLOAT=y" >> $config_mak
+ echo "#define CONFIG_SOFTFLOAT 1" >> $config_h
+ ;;
+esac
+
if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then
echo "TARGET_HAS_BFLT=y" >> $config_mak
echo "#define TARGET_HAS_BFLT 1" >> $config_h
--
1.6.2.5
- [Qemu-devel] [RFC PATCH 0/6] Generate config_h from config.mak, quintela, 2009/07/15
- [Qemu-devel] [PATCH 2/6] simplify TARGET_ARCH2 generation, quintela, 2009/07/15
- [Qemu-devel] [PATCH 3/6] simplify TARGET_ABI_DIR generation, quintela, 2009/07/15
- [Qemu-devel] [PATCH 4/6] rename s/config_mak/config_host_mak/ and s/config_h/config_host_h/, quintela, 2009/07/15
- [Qemu-devel] [PATCH 5/6] Refactor config_softfloat selection in another list,
quintela <=
- [Qemu-devel] [PATCH 6/6] Generate $target_dir/config.h from $target_dir/config.mak, quintela, 2009/07/15
- [Qemu-devel] [PATCH 1/6] simplify TARGET_BASE_ARCH generation, quintela, 2009/07/15