diff options
author | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-09-24 20:31:28 +0700 |
---|---|---|
committer | Konstantin Oblaukhov <oblaukhov.konstantin@gmail.com> | 2018-09-24 20:31:28 +0700 |
commit | 2db0e3fd7877253bf82766fb0666ab16234639b3 (patch) | |
tree | f054157368fa404d1dc71f6d71e083eb11dc669b /testhal/STM32/STM32F0xx/crc | |
parent | 7ab18994e7ac71872b9aa4684546dffe01c5c3f0 (diff) | |
download | ChibiOS-Contrib-2db0e3fd7877253bf82766fb0666ab16234639b3.tar.gz ChibiOS-Contrib-2db0e3fd7877253bf82766fb0666ab16234639b3.tar.bz2 ChibiOS-Contrib-2db0e3fd7877253bf82766fb0666ab16234639b3.zip |
New style makefiles for demos and tests.
Diffstat (limited to 'testhal/STM32/STM32F0xx/crc')
-rw-r--r-- | testhal/STM32/STM32F0xx/crc/Makefile | 20 |
1 files changed, 7 insertions, 13 deletions
diff --git a/testhal/STM32/STM32F0xx/crc/Makefile b/testhal/STM32/STM32F0xx/crc/Makefile index 7dfc020..6721d80 100644 --- a/testhal/STM32/STM32F0xx/crc/Makefile +++ b/testhal/STM32/STM32F0xx/crc/Makefile @@ -83,6 +83,8 @@ PROJECT = ch # Imported source files and paths CHIBIOS = ../../../../../ChibiOS-RT CHIBIOS_CONTRIB = $(CHIBIOS)/../ChibiOS-Contrib +# Licensing files. +include $(CHIBIOS)/os/license/license.mk # Startup files. include $(CHIBIOS)/os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32f0xx.mk # HAL-OSAL files (optional). @@ -103,19 +105,13 @@ LDSCRIPT= $(STARTUPLD)/STM32F051x8.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) \ 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 @@ -138,12 +134,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) \ +INCDIR = $(ALLINC) $(TESTINC) \ $(CHIBIOS_CONTRIB)/os/various # |