diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-03-13 16:54:06 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-03-13 16:54:06 +0000 |
commit | 158142c2c2df728cfa3b5320c65534921a764f26 (patch) | |
tree | 7c9fb39e252a8028443917d906855ecb33d4e179 /Makefile.target | |
parent | 4f716dc681d1bfa78d0863499fc1f2e13f170ede (diff) |
soft float support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1332 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile.target b/Makefile.target index 78e3e7f106..cabad43beb 100644 --- a/Makefile.target +++ b/Makefile.target @@ -229,7 +229,7 @@ ifeq ($(TARGET_ARCH), i386) OBJS+= vm86.o endif ifeq ($(TARGET_ARCH), arm) -OBJS+=nwfpe/softfloat.o nwfpe/fpa11.o nwfpe/fpa11_cpdo.o \ +OBJS+=nwfpe/fpa11.o nwfpe/fpa11_cpdo.o \ nwfpe/fpa11_cpdt.o nwfpe/fpa11_cprt.o nwfpe/fpopcode.o nwfpe/single_cpdo.o \ nwfpe/double_cpdo.o nwfpe/extended_cpdo.o endif @@ -237,8 +237,14 @@ SRCS:= $(OBJS:.o=.c) OBJS+= libqemu.a # cpu emulator library -LIBOBJS=exec.o kqemu.o translate-all.o cpu-exec.o\ +LIBOBJS=exec.o kqemu.o translate-op.o translate-all.o cpu-exec.o\ translate.o op.o +ifdef CONFIG_SOFTFLOAT +LIBOBJS+=fpu/softfloat.o +else +LIBOBJS+=fpu/softfloat-native.o +endif +DEFINES+=-I$(SRC_PATH)/fpu ifeq ($(TARGET_ARCH), i386) LIBOBJS+=helper.o helper2.o @@ -399,7 +405,9 @@ libqemu.a: $(LIBOBJS) translate.o: translate.c gen-op.h opc.h cpu.h -translate-all.o: translate-all.c op.h opc.h cpu.h +translate-all.o: translate-all.c opc.h cpu.h + +translate-op.o: translate-all.c op.h opc.h cpu.h op.h: op.o $(DYNGEN) $(DYNGEN) -o $@ $< |