aboutsummaryrefslogtreecommitdiffstats
path: root/demos/MSP430-MSP430x1611-GCC/Makefile
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-02 20:13:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-12-02 20:13:51 +0000
commit8400c8e42e3644eec40ec85703cedabae6fd986e (patch)
tree46cff05539a88fa7a2f85b5484829183c8529eb8 /demos/MSP430-MSP430x1611-GCC/Makefile
parentc2ad39132395d52a3894c13f978da2349f650201 (diff)
downloadChibiOS-8400c8e42e3644eec40ec85703cedabae6fd986e.tar.gz
ChibiOS-8400c8e42e3644eec40ec85703cedabae6fd986e.tar.bz2
ChibiOS-8400c8e42e3644eec40ec85703cedabae6fd986e.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1371 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/Makefile')
-rw-r--r--demos/MSP430-MSP430x1611-GCC/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/Makefile b/demos/MSP430-MSP430x1611-GCC/Makefile
index 7a7a720a8..97de20466 100644
--- a/demos/MSP430-MSP430x1611-GCC/Makefile
+++ b/demos/MSP430-MSP430x1611-GCC/Makefile
@@ -40,6 +40,8 @@ LDSCRIPT = mspgcc/msp430x1611.x
# Imported source files
CHIBIOS = ../..
+include ${CHIBIOS}/os/hal/hal.mk
+include ${CHIBIOS}/os/hal/platforms/MSP430/platform.mk
include ${CHIBIOS}/os/ports/GCC/MSP430/port.mk
include ${CHIBIOS}/os/kernel/kernel.mk
include ${CHIBIOS}/test/test.mk
@@ -48,10 +50,8 @@ include ${CHIBIOS}/test/test.mk
CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ${CHIBIOS}/os/io/pal.c \
- ${CHIBIOS}/os/io/serial.c \
- ${CHIBIOS}/os/io/platforms/MSP430/pal_lld.c \
- ${CHIBIOS}/os/io/platforms/MSP430/serial_lld.c \
+ ${HALSRC} \
+ ${PLATFORMSRC} \
${CHIBIOS}/os/various/evtimer.c \
board.c main.c
@@ -61,9 +61,7 @@ CPPSRC =
# List ASM source files here
ASMSRC = $(PORTASM)
-INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- ${CHIBIOS}/os/io \
- ${CHIBIOS}/os/io/platforms/MSP430 \
+INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \
${CHIBIOS}/os/various
#