aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
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 /Makefile.target
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:
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target8
1 files changed, 3 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)