From 456490bf06d9d6eccf7a02b18fba94058c81f26c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 8 Dec 2009 08:28:49 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1388 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/ARM7-LPC214x-GCC/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'demos') diff --git a/demos/ARM7-LPC214x-GCC/Makefile b/demos/ARM7-LPC214x-GCC/Makefile index 792ff4fbd..10eb571ae 100644 --- a/demos/ARM7-LPC214x-GCC/Makefile +++ b/demos/ARM7-LPC214x-GCC/Makefile @@ -44,6 +44,8 @@ LDSCRIPT = ch.ld # Imported source files CHIBIOS = ../.. +include ${CHIBIOS}/os/hal/hal.mk +include ${CHIBIOS}/os/hal/platforms/LPC214x/platform.mk include ${CHIBIOS}/os/ports/GCC/ARM7/port.mk include ${CHIBIOS}/os/kernel/kernel.mk include ${CHIBIOS}/test/test.mk @@ -53,11 +55,8 @@ include ${CHIBIOS}/test/test.mk CSRC = ${PORTSRC} \ ${KERNSRC} \ ${TESTSRC} \ - ${CHIBIOS}/os/io/pal.c \ - ${CHIBIOS}/os/io/serial.c \ - ${CHIBIOS}/os/io/platforms/LPC214x/pal_lld.c \ - ${CHIBIOS}/os/io/platforms/LPC214x/serial_lld.c \ - ${CHIBIOS}/os/io/platforms/LPC214x/vic.c \ + ${HALSRC} \ + ${PLATFORMSRC} \ ${CHIBIOS}/os/io/platforms/LPC214x/lpc214x_ssp.c \ ${CHIBIOS}/os/various/evtimer.c \ board.c buzzer.c mmcsd.c main.c @@ -90,9 +89,7 @@ TCPPSRC = ASMSRC = $(PORTASM) \ ${CHIBIOS}/os/ports/GCC/ARM7/LPC214x/vectors.s -INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \ - ${CHIBIOS}/os/io \ - ${CHIBIOS}/os/io/platforms/LPC214x \ +INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) $(HALINC) $(PLATFORMINC) \ ${CHIBIOS}/os/various \ ${CHIBIOS}/os/ports/GCC/ARM7/LPC214x -- cgit v1.2.3