Skip to content

Commit

Permalink
Introduce CONFIG_NOSOFTFLOAT and simplify Makefile.target
Browse files Browse the repository at this point in the history
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
  • Loading branch information
Juan Quintela authored and Anthony Liguori committed Aug 10, 2009
1 parent 76dfdd2 commit d6b3893
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile.target
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 3 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6b3893

Please sign in to comment.