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/RT-ARDUINO-MINI/Makefile | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'demos/AVR/RT-ARDUINO-MINI/Makefile') diff --git a/demos/AVR/RT-ARDUINO-MINI/Makefile b/demos/AVR/RT-ARDUINO-MINI/Makefile index 761fb52c3..f95a2b415 100644 --- a/demos/AVR/RT-ARDUINO-MINI/Makefile +++ b/demos/AVR/RT-ARDUINO-MINI/Makefile @@ -85,31 +85,29 @@ 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_MINI/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 # List C source files here. (C dependencies are automatically generated.) -CSRC = $(KERNSRC) \ - $(PORTSRC) \ - $(OSALSRC) \ - $(HALSRC) \ - $(PLATFORMSRC) \ - $(BOARDSRC) \ - $(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) \ - $(BOARDINC) $(CHIBIOS)/os/various +# Header files here. +INCDIR = $(ALLINC) # # Project, sources and paths. -- cgit v1.2.3