diff options
author | edolomb <none@example.com> | 2018-03-16 15:04:54 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2018-03-16 15:04:54 +0000 |
commit | ae18581dd903c5b0bf1d07e7465cbebfb14597f8 (patch) | |
tree | 7467cfa82957e1cac59189698abd56ed05624463 /testhal/ATSAMA5D2/FLEX-SPI/Makefile | |
parent | 8e1851be0ef7d20563085907460f9bb77ed2ebba (diff) | |
download | ChibiOS-ae18581dd903c5b0bf1d07e7465cbebfb14597f8.tar.gz ChibiOS-ae18581dd903c5b0bf1d07e7465cbebfb14597f8.tar.bz2 ChibiOS-ae18581dd903c5b0bf1d07e7465cbebfb14597f8.zip |
- Updated demos
- Minor changes
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11779 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/ATSAMA5D2/FLEX-SPI/Makefile')
-rw-r--r-- | testhal/ATSAMA5D2/FLEX-SPI/Makefile | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/testhal/ATSAMA5D2/FLEX-SPI/Makefile b/testhal/ATSAMA5D2/FLEX-SPI/Makefile index d80992791..f95aec96a 100644 --- a/testhal/ATSAMA5D2/FLEX-SPI/Makefile +++ b/testhal/ATSAMA5D2/FLEX-SPI/Makefile @@ -108,9 +108,14 @@ endif # Define project name here
PROJECT = ch
+BUILDDIR := ./build
+DEPDIR := ./.dep
# Imported source files and paths
CHIBIOS = ../../..
+
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
# Startup files.
include $(CHIBIOS)/os/common/startup/ARMCAx-TZ/compilers/GCC/mk/startup_sama5d2.mk
# HAL-OSAL files (optional).
@@ -133,19 +138,12 @@ LDSCRIPT= $(STARTUPLD)/SAMA5D2ddr.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) \
- $(TESTSRC) \
+CSRC = $(ALLCSRC) \
main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
-CPPSRC =
+CPPSRC = $(ALLCPPSRC)
# C sources to be compiled in ARM mode regardless of the global setting.
# NOTE: Mixing ARM and THUMB mode enables the -mthumb-interwork compiler
@@ -168,13 +166,10 @@ TCSRC = TCPPSRC =
# List ASM source files here
-ASMSRC =
-ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM)
+ASMSRC = $(ALLASMSRC)
+ASMXSRC = $(ALLXASMSRC)
-INCDIR = $(CHIBIOS)/os/license \
- $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \
- $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \
- $(CHIBIOS)/os/various
+INCDIR = $(ALLINC)
#
# Project, sources and paths
|