From 4eb0dbb1e3b8be7eb85c8830ef350d4dae021f87 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 29 Aug 2015 17:16:21 +0200 Subject: Updating ChibiOS 3.x build system support --- tools/gmake_scripts/os_chibios_2.mk | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'tools') 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) -- cgit v1.2.3