From 78f48448e50c8f98825675938bd48508db8407b8 Mon Sep 17 00:00:00 2001 From: Theodore Ateba Date: Wed, 14 Mar 2018 07:45:40 +0000 Subject: AVR: Resolve compilation problem, missing chlib.h and chlicense.h git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11735 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- demos/AVR/TEST-SUITE-RT/Makefile | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'demos/AVR/TEST-SUITE-RT/Makefile') diff --git a/demos/AVR/TEST-SUITE-RT/Makefile b/demos/AVR/TEST-SUITE-RT/Makefile index f8345f798..2619048af 100644 --- a/demos/AVR/TEST-SUITE-RT/Makefile +++ b/demos/AVR/TEST-SUITE-RT/Makefile @@ -84,35 +84,33 @@ 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)/test/lib/test.mk include $(CHIBIOS)/test/rt/rt_test.mk # List C source files here. (C dependencies are automatically generated.) -CSRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(CHIBIOS)/os/various/evtimer.c \ - $(TESTSRC) \ +CSRC = $(ALLCSRC) \ + $(TESTSRC) \ main.c # List C++ sources file here. -CPPSRC = +CPPSRC = $(ALLCPPSRC) -INCDIR = $(CHIBIOS)/os/license $(PORTINC) $(KERNINC) \ - $(HALINC) $(OSALINC) $(PLATFORMINC) $(TESTINC) \ - $(BOARDINC) $(CHIBIOS)/os/various +INCDIR = $(ALLINC) $(TESTINC) # # Project, sources and paths. -- cgit v1.2.3