diff options
Diffstat (limited to 'demos/MSP430-MSP430x1611-GCC/Makefile')
-rw-r--r-- | demos/MSP430-MSP430x1611-GCC/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/demos/MSP430-MSP430x1611-GCC/Makefile b/demos/MSP430-MSP430x1611-GCC/Makefile index 8cf693eb1..e316c3fa9 100644 --- a/demos/MSP430-MSP430x1611-GCC/Makefile +++ b/demos/MSP430-MSP430x1611-GCC/Makefile @@ -36,30 +36,32 @@ endif PROJECT = ch
# Define linker script file here
-LDSCRIPT= mspgcc/msp430x1611.x
+LDSCRIPT = mspgcc/msp430x1611.x
# Imported source files
-include ../../src/kernel.mk
+include ../../os/ports/GCC/MSP430/port.mk
+include ../../os/kernel/kernel.mk
include ../../test/test.mk
# C sources here.
-CSRC = ../../ports/MSP430/chcore.c \
- ../../ports/MSP430/msp430_serial.c \
- ../../ports/MSP430/pal_lld.c \
+CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ../../src/lib/evtimer.c \
+ ../../os/io/pal.c \
+ ../../os/ports/GCC/MSP430/pal_lld.c \
+ ../../os/ports/GCC/MSP430/msp430_serial.c \
+ ../../os/various/evtimer.c \
board.c main.c
# C++ sources here.
CPPSRC =
# List ASM source files here
-ASMSRC =
+ASMSRC = $(PORTASM)
-INCDIR = $(KERNINC) $(TESTINC) \
- ../../src/lib \
- ../../ports/MSP430
+INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
+ ../../os/io \
+ ../../os/various
#
# Project, sources and paths
|