aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gmake_scripts/os_chibios_2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gmake_scripts/os_chibios_2.mk')
-rw-r--r--tools/gmake_scripts/os_chibios_2.mk18
1 files changed, 13 insertions, 5 deletions
diff --git a/tools/gmake_scripts/os_chibios_2.mk b/tools/gmake_scripts/os_chibios_2.mk
index 299f42ec..ffbbc3f5 100644
--- a/tools/gmake_scripts/os_chibios_2.mk
+++ b/tools/gmake_scripts/os_chibios_2.mk
@@ -60,13 +60,21 @@ ifeq ($(CHIBIOS_STM32LIB),yes)
INCPATH += $(STM32INC)
endif
-INCPATH += $(PORTINC) $(KERNINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC)
+# Add include files
+INCPATH += $(PORTINC) \
+ $(KERNINC) \
+ $(OSALINC) \
+ $(HALINC) \
+ $(PLATFORMINC) \
+ $(BOARDINC)
-SRC += $(PORTSRC) \
+# Add C files
+SRC += $(PORTSRC) \
$(KERNSRC) \
$(HALSRC) \
$(PLATFORMSRC) \
$(BOARDSRC) \
- $(OSALSRC) \
- $(PORTASM)
+ $(OSALSRC)
+
+# Add ASM files
+SRC += $(PORTASM)