aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-08 16:56:44 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-08 16:56:44 +0000
commit95583e02d4d82a916efb735bd2acfb4a70599ed7 (patch)
tree8fb4b6ba587e09ad6203f7d5eff8f261665d1584 /demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
parent0dbc133eea7bae9beea4a89018b8897f7275c5cd (diff)
downloadChibiOS-95583e02d4d82a916efb735bd2acfb4a70599ed7.tar.gz
ChibiOS-95583e02d4d82a916efb735bd2acfb4a70599ed7.tar.bz2
ChibiOS-95583e02d4d82a916efb735bd2acfb4a70599ed7.zip
Grouped configuration files, too many of them.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10800 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile')
-rw-r--r--demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
index 4323d9cb9..72bdc14b9 100644
--- a/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
+++ b/demos/STM32/RT-STM32F746G-DISCOVERY-LWIP-FATFS-USB/Makefile
@@ -89,6 +89,9 @@ endif
# Define project name here
PROJECT = ch
+CONFDIR := ./cfg
+BUILDDIR := ./build
+DEPDIR := ./.dep
# Imported source files and paths
CHIBIOS = ../../..
@@ -127,7 +130,7 @@ CSRC = $(STARTUPSRC) \
$(STREAMSSRC) \
$(SHELLSRC) \
$(CHIBIOS)/os/various/evtimer.c \
- usbcfg.c main.c
+ src/usbcfg.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
@@ -161,7 +164,7 @@ INCDIR = $(CHIBIOS)/os/license \
$(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
$(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
$(STREAMSINC) $(SHELLINC) $(LWINC) $(FATFSINC) \
- $(CHIBIOS)/os/various
+ $(CHIBIOS)/os/various $(CONFDIR) ./src
#
# Project, sources and paths