Skip to content

Commit 24dd0b5

Browse files
committed
ChibiOS: update mk to match chibios/master.
1 parent cdee266 commit 24dd0b5

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

tool/chibios/chibios.mk

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ PORT_V = $(CHIBIOS)/os/common/ports/ARMCMx/compilers/GCC/mk/port_v$(ARMV)m.mk
123123
endif
124124
include $(PORT_V)
125125
# Other files (optional).
126+
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
126127

127128
# Define linker script file here
128129
ifneq ("$(wildcard $(TARGET_DIR)/ld/$(MCU_LDSCRIPT).ld)","")
@@ -140,7 +141,7 @@ CSRC = $(STARTUPSRC) \
140141
$(HALSRC) \
141142
$(PLATFORMSRC) \
142143
$(BOARDSRC) \
143-
$(CHIBIOS)/os/hal/lib/streams/chprintf.c \
144+
$(STREAMSSRC) \
144145
$(TMK_DIR)/protocol/chibios/usb_main.c \
145146
$(TMK_DIR)/protocol/chibios/main.c \
146147
$(SRC)
@@ -170,11 +171,13 @@ TCSRC =
170171
TCPPSRC =
171172

172173
# List ASM source files here
173-
ASMSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
174+
ASMSRC =
175+
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
174176

175-
INCDIR = $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
177+
INCDIR = $(CHIBIOS)/os/license \
178+
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
176179
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
177-
$(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various \
180+
$(STREAMSINC) $(CHIBIOS)/os/various \
178181
$(TMK_DIR) $(COMMON_DIR) $(TMK_DIR)/protocol/chibios \
179182
$(TMK_DIR)/protocol $(TARGET_DIR)
180183

0 commit comments

Comments
 (0)