File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -20,16 +20,19 @@ SRC = mod_cnn.c
20
20
21
21
# Stuff to make soft-float work
22
22
# If symbols are undefined, use tools/find_symbols.py to locate object files to add
23
- SOFTFP_O := _truncdfsf2.o _addsubdf3.o _extendsfdf2.o _divsf3.o
23
+ SOFTFP_O :=
24
24
SOFTFP_ENABLE := 0
25
25
ifeq ($(ARCH ) , armv6m)
26
26
SOFTFP_ENABLE=1
27
+ # SOFTFP_O +=
27
28
endif
28
29
ifeq ($(ARCH ) , armv7m)
29
30
SOFTFP_ENABLE=1
31
+ SOFTFP_O += _arm_addsubsf3.o _arm_muldivsf3.o _arm_fixsfsi.o _arm_cmpsf2.o _arm_fixunssfsi.o _arm_addsubdf3.o _arm_truncdfsf2.o
30
32
endif
31
33
ifeq ($(ARCH ) , xtensawin)
32
34
SOFTFP_ENABLE=1
35
+ SOFTFP_O += _truncdfsf2.o _addsubdf3.o _extendsfdf2.o _divsf3.o
33
36
endif
34
37
35
38
ifeq ($(SOFTFP_ENABLE ) , 1)
@@ -55,6 +58,9 @@ $(info $(LIBGCC_FILENAME))
55
58
_addsubdf3.o :
56
59
$(CROSS ) ar -x $(LIBGCC_FILENAME ) $(SOFTFP_O )
57
60
61
+ _arm_addsubsf3.o :
62
+ $(CROSS ) ar -x $(LIBGCC_FILENAME ) $(SOFTFP_O )
63
+
58
64
CFLAGS += -I$(TINYMAIX_DIR ) /include -I$(TINYMAIX_DIR ) /src -Wno-error=unused-variable -Wno-error=multichar
59
65
60
66
dist : $(DIST_FILE )
You can’t perform that action at this time.
0 commit comments