diff options
Diffstat (limited to 'demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP')
-rwxr-xr-x | demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/Makefile | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/Makefile b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/Makefile index e6fa1ca7e..e506f2249 100755 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/Makefile +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC-LWIP/Makefile @@ -109,8 +109,14 @@ endif # Define project name here PROJECT = ch CONFDIR := ./cfg +BUILDDIR := ./build +DEPDIR := ./.dep + # Imported source files and paths CHIBIOS = ../../.. + +# Licensing files. +include $(CHIBIOS)/os/license/license.mk # Startup files. include $(CHIBIOS)/os/common/startup/ARM/compilers/GCC/mk/startup_sama5d2.mk # HAL-OSAL files (optional). @@ -125,6 +131,7 @@ include $(CHIBIOS)/os/common/ports/ARM/compilers/GCC/mk/port_generic.mk include $(CHIBIOS)/test/lib/test.mk include $(CHIBIOS)/test/rt/rt_test.mk include $(CHIBIOS)/test/oslib/oslib_test.mk +include $(CHIBIOS)/os/hal/lib/streams/streams.mk include cfg/lwip.mk # Define linker script file here @@ -132,23 +139,16 @@ LDSCRIPT= $(STARTUPLD)/SAMA5D2ddr.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) \ $(LWSRC) \ $(CHIBIOS)/os/various/evtimer.c \ - $(TESTSRC) \ - $(CHIBIOS)/os/hal/lib/streams/chprintf.c \ tsclient.c \ web/web.c lwipthread.c 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 @@ -171,14 +171,12 @@ TCSRC = TCPPSRC = # List ASM source files here -ASMSRC = -ASMXSRC = $(STARTUPASM) $(PORTASM) $(OSALASM) - -INCDIR = $(CHIBIOS)/os/license \ - $(STARTUPINC) $(KERNINC) $(PORTINC) $(OSALINC) \ - $(HALINC) $(PLATFORMINC) $(BOARDINC) $(TESTINC) \ - $(CONFDIR) $(LWINC) \ - $(CHIBIOS)/os/hal/lib/streams $(CHIBIOS)/os/various \ +ASMSRC = $(ALLASMSRC) +ASMXSRC = $(ALLXASMSRC) + +INCDIR = $(CONFDIR) $(ALLINC) $(TESTINC)\ + $(LWINC) \ + $(CHIBIOS)/os/various # # Project, sources and paths |