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
This commit is contained in:
Theodore Ateba 2018-03-15 08:03:58 +00:00
parent 86ed98b30a
commit b300b61ee0
12 changed files with 112 additions and 133 deletions

View File

@ -84,6 +84,8 @@ PROJECT = ch
# Imported source files and paths
CHIBIOS = ../../..
# Licensing files.
include $(CHIBIOS)/os/license/license.mk
# HAL-OSAL files (optional).

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -85,34 +85,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/MT-DB-X4/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/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) \
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
# Header files here.
INCDIR = $(ALLINC)
#
# Project, sources and paths.

View File

@ -85,37 +85,34 @@ 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/MT-DB-X4/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/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/oslib/oslib_test.mk
#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) \
$(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
# Header files here.
INCDIR = $(ALLINC) $(TESTINC)
#
# Project, sources and paths.

View File

@ -84,31 +84,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/MT-DB-X4/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/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.

View File

@ -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/MT-DB-X4/board.mk
include $(CHIBIOS)/os/hal/ports/AVR/XMEGA/ATXMEGAxxxA4U/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) \
$(BOARDINC) $(STREAMSINC) $(CHIBIOS)/os/various
# Header files here.
INCDIR = $(ALLINC)
#
# Project, sources and paths.