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:
This commit is contained in:
Juan Quintela 2009-08-03 14:46:42 +02:00 committed by Anthony Liguori
parent 76dfdd24de
commit d6b3893971
2 changed files with 6 additions and 5 deletions

View file

@ -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)

3
configure vendored
View file

@ -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