aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-AT91SAM7X-WEB-GCC
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-06-26 14:06:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2008-06-26 14:06:21 +0000
commitcc44376c6e07d5c47561db9f6179e51e0654391d (patch)
tree8de60ea812b403e12c6a839924f3254d86c226f9 /demos/ARM7-AT91SAM7X-WEB-GCC
parent8292744ffd977bbe16d4fe4273a4acdc196e463d (diff)
downloadChibiOS-cc44376c6e07d5c47561db9f6179e51e0654391d.tar.gz
ChibiOS-cc44376c6e07d5c47561db9f6179e51e0654391d.tar.bz2
ChibiOS-cc44376c6e07d5c47561db9f6179e51e0654391d.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@325 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-AT91SAM7X-WEB-GCC')
-rw-r--r--demos/ARM7-AT91SAM7X-WEB-GCC/Makefile18
-rw-r--r--demos/ARM7-AT91SAM7X-WEB-GCC/Makefile.thumb18
2 files changed, 14 insertions, 22 deletions
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile b/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile
index a1ebaba71..77651350c 100644
--- a/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile
+++ b/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile
@@ -61,15 +61,9 @@ UDEFS =
# Define ASM defines here
UADEFS =
-# List of all the ChibiOS/RT kernel files, there is no need to remove the files
-# from this list, you can disable parts of the kernel by editing chconf.h.
-KSRC = ../../src/chinit.c ../../src/chdebug.c \
- ../../src/chlists.c ../../src/chdelta.c \
- ../../src/chschd.c ../../src/chthreads.c \
- ../../src/chsem.c ../../src/chmtx.c \
- ../../src/chevents.c ../../src/chmsg.c \
- ../../src/chsleep.c ../../src/chqueues.c \
- ../../src/chserial.c
+# Imported source files
+include ../../src/kernel.mk
+include ../../test/test.mk
# List of the required uIP source files.
USRC = ../../ext/uip-1.0/uip/uip_arp.c \
@@ -84,8 +78,10 @@ USRC = ../../ext/uip-1.0/uip/uip_arp.c \
ASRC = ../../ports/ARM7-AT91SAM7X/chcore.c \
../../ports/ARM7-AT91SAM7X/sam7x_serial.c \
../../ports/ARM7-AT91SAM7X/sam7x_emac.c \
- ${KSRC} ${USRC} \
- ../../src/lib/evtimer.c ../../test/test.c \
+ ${KERNSRC} \
+ ${TESTSRC} \
+ ${USRC} \
+ ../../src/lib/evtimer.c \
at91lib/aic.c \
web/webthread.c \
board.c main.c
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile.thumb b/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile.thumb
index 1ff7b8211..431111305 100644
--- a/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile.thumb
+++ b/demos/ARM7-AT91SAM7X-WEB-GCC/Makefile.thumb
@@ -61,15 +61,9 @@ UDEFS =
# Define ASM defines here
UADEFS =
-# List of all the ChibiOS/RT kernel files, there is no need to remove the files
-# from this list, you can disable parts of the kernel by editing chconf.h.
-KSRC = ../../src/chinit.c ../../src/chdebug.c \
- ../../src/chlists.c ../../src/chdelta.c \
- ../../src/chschd.c ../../src/chthreads.c \
- ../../src/chsem.c ../../src/chmtx.c \
- ../../src/chevents.c ../../src/chmsg.c \
- ../../src/chsleep.c ../../src/chqueues.c \
- ../../src/chserial.c
+# Imported source files
+include ../../src/kernel.mk
+include ../../test/test.mk
# List of the required uIP source files.
USRC = ../../ext/uip-1.0/uip/uip_arp.c \
@@ -90,8 +84,10 @@ ASRC =
TSRC = ../../ports/ARM7-AT91SAM7X/chcore.c \
../../ports/ARM7-AT91SAM7X/sam7x_serial.c \
../../ports/ARM7-AT91SAM7X/sam7x_emac.c \
- ${KSRC} ${USRC} \
- ../../src/lib/evtimer.c ../../test/test.c \
+ ${KERNSRC} \
+ ${TESTSRC} \
+ ${USRC} \
+ ../../src/lib/evtimer.c \
at91lib/aic.c \
web/webthread.c \
board.c main.c