aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/AVR/MEGA/ICU/Makefile
diff options
context:
space:
mode:
authorTheodore Ateba <tf.ateba@gmail.com>2018-03-15 08:03:58 +0000
committerTheodore Ateba <tf.ateba@gmail.com>2018-03-15 08:03:58 +0000
commitb300b61ee0ba70abb293a3724993492625716f4f (patch)
tree1d22e824f6c46050560f892698d6e793f9514a86 /testhal/AVR/MEGA/ICU/Makefile
parent86ed98b30ac09c73f346bf97558cea7fa9b4e764 (diff)
downloadChibiOS-b300b61ee0ba70abb293a3724993492625716f4f.tar.gz
ChibiOS-b300b61ee0ba70abb293a3724993492625716f4f.tar.bz2
ChibiOS-b300b61ee0ba70abb293a3724993492625716f4f.zip
Update testhal makefile to avoid compîlation errors with chlib.h and chlicense files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11760 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal/AVR/MEGA/ICU/Makefile')
-rw-r--r--testhal/AVR/MEGA/ICU/Makefile22
1 files changed, 10 insertions, 12 deletions
diff --git a/testhal/AVR/MEGA/ICU/Makefile b/testhal/AVR/MEGA/ICU/Makefile
index 51bf14236..075764b0e 100644
--- a/testhal/AVR/MEGA/ICU/Makefile
+++ b/testhal/AVR/MEGA/ICU/Makefile
@@ -84,34 +84,32 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../../..
+
+# Licensing files.
+include $(CHIBIOS)/os/license/license.mk
+
# HAL-OSAL files (optional).
include $(CHIBIOS)/os/hal/hal.mk
include $(CHIBIOS)/os/hal/boards/ARDUINO_MEGA/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/MEGA/ATMEGAxx/platform.mk
include $(CHIBIOS)/os/hal/osal/rt/osal.mk
+
# RTOS files (optional).
include $(CHIBIOS)/os/rt/rt.mk
include $(CHIBIOS)/os/common/ports/AVR/compilers/GCC/mk/port.mk
+
# Other files (optional).
include $(CHIBIOS)/os/hal/lib/streams/streams.mk
# List C source files here. (C dependencies are automatically generated.)
-CSRC = $(KERNSRC) \
- $(PORTSRC) \
- $(OSALSRC) \
- $(HALSRC) \
- $(PLATFORMSRC) \
- $(BOARDSRC) \
- $(STREAMSSRC) \
- $(CHIBIOS)/os/various/evtimer.c \
+CSRC = $(ALLCSRC) \
main.c
# List C++ sources file here.
-CPPSRC =
+CPPSRC = $(ALLCPPSRC)
-INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \
- $(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \
- $(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
+# Header files here.
+INCDIR = $(ALLINC)
#
# Project, sources and paths.