File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,8 @@ CPPFLAGS =
29
29
CFLAGS = -Os -pipe
30
30
CFLAGS_C99FSE = -std=c99 -ffreestanding -nostdinc
31
31
32
- CFLAGS_ALL = $(CFLAGS_C99FSE )
32
+ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mabi=aapcs-linux -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -fsingle-precision-constant -Wdouble-promotion -DSTM32F40XX -DHSE_VALUE=8000000
33
+ CFLAGS_ALL = $(CFLAGS_C99FSE ) $(CFLAGS_CORTEX_M4 )
33
34
CFLAGS_ALL += -D_XOPEN_SOURCE=700 -I./arch/$(ARCH ) -I./src/internal -I./include
34
35
CFLAGS_ALL += $(CPPFLAGS ) $(CFLAGS )
35
36
CFLAGS_ALL_STATIC = $(CFLAGS_ALL )
@@ -48,7 +49,7 @@ CRT_LIBS = lib/crt1.o lib/Scrt1.o lib/crti.o lib/crtn.o
48
49
STATIC_LIBS = lib/libc.a
49
50
SHARED_LIBS = lib/libc.so
50
51
TOOL_LIBS = lib/musl-gcc.specs
51
- ALL_LIBS = $(CRT_LIBS ) $( STATIC_LIBS ) $(SHARED_LIBS ) $(EMPTY_LIBS ) $(TOOL_LIBS )
52
+ ALL_LIBS = $(STATIC_LIBS ) $(SHARED_LIBS ) $(EMPTY_LIBS ) $(TOOL_LIBS )
52
53
ALL_TOOLS = tools/musl-gcc
53
54
54
55
LDSO_PATHNAME = $(syslibdir ) /ld-musl-$(ARCH )$(SUBARCH ) .so.1
You can’t perform that action at this time.
0 commit comments