aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull')
-rw-r--r--demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull23
1 files changed, 6 insertions, 17 deletions
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull b/demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull
index a1e691ec2..3f5ba0ad6 100644
--- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull
+++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/Makefile-stm32f107_goldbull
@@ -90,6 +90,9 @@ DEPDIR := ./.dep-stm32f107_goldbull
# Imported source files and paths
CHIBIOS = ../../..
+
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f1xx.mk
# HAL-OSAL files (optional).
@@ -114,18 +117,8 @@ LDSCRIPT= $(STARTUPLD)/STM32F107xC.ld
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CSRC = $(STARTUPSRC) \
- $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
+CSRC = $(ALLCSRC) \
$(TESTSRC) \
- $(LWSRC) \
- $(FATFSSRC) \
- $(STREAMSSRC) \
- $(SHELLSRC) \
$(CHIBIOS)/os/various/evtimer.c \
$(CONFDIR)/portab.c \
src/usbcfg.c main.c
@@ -155,14 +148,10 @@ TCSRC =
TCPPSRC =
# List ASM source files here
-ASMSRC =
+ASMSRC = $(ALLASMSRC)
ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
-INCDIR = $(CHIBIOS)/os/license \
- $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
- $(STREAMSINC) $(SHELLINC) $(LWINC) $(FATFSINC) \
- $(CHIBIOS)/os/various $(CONFDIR) ./cfg ./src
+INCDIR = $(ALLINC) $(TESTINC) $(CONFDIR) ./cfg ./src
#
# Project, sources and paths