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:
parent
76dfdd24de
commit
d6b3893971
@ -58,12 +58,10 @@ QEMU_CFLAGS+=-I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/$(ARCH)
|
|||||||
ifeq ($(ARCH),sparc64)
|
ifeq ($(ARCH),sparc64)
|
||||||
QEMU_CFLAGS+=-I$(SRC_PATH)/tcg/sparc
|
QEMU_CFLAGS+=-I$(SRC_PATH)/tcg/sparc
|
||||||
endif
|
endif
|
||||||
ifdef CONFIG_SOFTFLOAT
|
|
||||||
libobj-y += fpu/softfloat.o
|
|
||||||
else
|
|
||||||
libobj-y += fpu/softfloat-native.o
|
|
||||||
endif
|
|
||||||
QEMU_CFLAGS+=-I$(SRC_PATH)/fpu
|
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
|
libobj-y += op_helper.o helper.o
|
||||||
|
|
||||||
ifeq ($(TARGET_BASE_ARCH), arm)
|
ifeq ($(TARGET_BASE_ARCH), arm)
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -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)
|
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_SOFTFLOAT=y" >> $config_mak
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
|
echo "CONFIG_NOSOFTFLOAT=y" >> $config_mak
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then
|
if test "$target_user_only" = "yes" -a "$bflt" = "yes"; then
|
||||||
|
Loading…
Reference in New Issue
Block a user