aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-03 14:46:42 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-10 13:05:42 -0500
commitd6b3893971041b90ec53f63b1775a7c3d0107f10 (patch)
treeedd9e5190eec60c056edd4c6ad0237443ecf6a3f
parent76dfdd24de7e0081a4c121977eaaa9ce78b5eea9 (diff)
downloadqemu-d6b3893971041b90ec53f63b1775a7c3d0107f10.zip
qemu-d6b3893971041b90ec53f63b1775a7c3d0107f10.tar.gz
qemu-d6b3893971041b90ec53f63b1775a7c3d0107f10.tar.bz2
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
-rw-r--r--Makefile.target8
-rwxr-xr-xconfigure3
2 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.target b/Makefile.target
index 6f0ed78..39a373f 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -58,12 +58,10 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/$(ARCH)
ifeq ($(ARCH),sparc64)
QEMU_CFLAGS+=-I$(SRC_PATH)/tcg/sparc
endif
-ifdef CONFIG_SOFTFLOAT
-libobj-y += fpu/softfloat.o
-else
-libobj-y += fpu/softfloat-native.o
-endif
QEMU_CFLAGS+=-I$(SRC_PATH)/fpu
+
+libobj-$(CONFIG_SOFTFLOAT) += fpu/softfloat.o
+libobj-$(CONFIG_NOSOFTFLOAT) += fpu/softfloat-native.o
libobj-y += op_helper.o helper.o
ifeq ($(TARGET_BASE_ARCH), arm)
diff --git a/configure b/configure
index 0425b3d..890b68b 100755
--- a/configure
+++ b/configure
@@ -2045,6 +2045,9 @@ 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 "CONFIG_NOSOFTFLOAT=y" >> $config_mak
+ ;;
esac
if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then