diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 16:16:38 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-11-29 16:16:38 +0000 |
commit | 2e33e2772adefb783621f60f8cab452cf61abe29 (patch) | |
tree | ed20145e2e8cb0337db77a4d13fb75fdb4075595 /demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile | |
parent | 937efbc9b64d9ac5c10136e8d1e4fb359a6bdda6 (diff) | |
download | ChibiOS-2e33e2772adefb783621f60f8cab452cf61abe29.tar.gz ChibiOS-2e33e2772adefb783621f60f8cab452cf61abe29.tar.bz2 ChibiOS-2e33e2772adefb783621f60f8cab452cf61abe29.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1358 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile')
-rw-r--r-- | demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile b/demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile index 404fb07e0..7255f4f3e 100644 --- a/demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile +++ b/demos/ARM7-AT91SAM7X-LWIP-GCC/Makefile @@ -44,6 +44,8 @@ LDSCRIPT= ch.ld # Imported source files
CHIBIOS = ../..
+include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/os/hal/platforms/AT91SAM7/platform.mk
include ${CHIBIOS}/os/ports/GCC/ARM7/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
@@ -54,20 +56,13 @@ include ./lwip/lwip.mk CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ${CHIBIOS}/os/io/pal.c \
- ${CHIBIOS}/os/io/serial.c \
- ${CHIBIOS}/os/io/mii.c \
- ${CHIBIOS}/os/io/mac.c \
- ${CHIBIOS}/os/io/platforms/AT91SAM7/pal_lld.c \
- ${CHIBIOS}/os/io/platforms/AT91SAM7/serial_lld.c \
- ${CHIBIOS}/os/io/platforms/AT91SAM7/mii_lld.c \
- ${CHIBIOS}/os/io/platforms/AT91SAM7/mac_lld.c \
- ${CHIBIOS}/os/io/platforms/AT91SAM7/at91lib/aic.c \
- ${CHIBIOS}/os/various/evtimer.c \
+ ${HALSRC} \
+ ${PLATFORMSRC} \
${LWNETIFSRC} \
${LWCORESRC} \
${LWIPV4SRC} \
${LWAPISRC} \
+ ${CHIBIOS}/os/various/evtimer.c \
./lwip/arch/sys_arch.c \
./lwip/lwipthread.c \
./web/web.c \
@@ -101,9 +96,7 @@ TCPPSRC = ASMSRC = $(PORTASM) \
${CHIBIOS}/os/ports/GCC/ARM7/AT91SAM7/vectors.s
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(LWINC) \
- ${CHIBIOS}/os/io \
- ${CHIBIOS}/os/io/platforms/AT91SAM7 \
+INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) $(LWINC) \
${CHIBIOS}/os/various \
${CHIBIOS}/os/ports/GCC/ARM7/AT91SAM7 \
./lwip
|