diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-19 08:00:34 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-09-19 08:00:34 +0000 |
commit | 9b59b00627e0e068d6e63da7f21ee54d709a46c2 (patch) | |
tree | e3ff1642c75b642e362eab6a6b0645adcded0b56 /demos/ARM7-LPC214x-GCC-minimal | |
parent | db46ee952bdf71ee039adf1bcf549968763f7a40 (diff) | |
download | ChibiOS-9b59b00627e0e068d6e63da7f21ee54d709a46c2.tar.gz ChibiOS-9b59b00627e0e068d6e63da7f21ee54d709a46c2.tar.bz2 ChibiOS-9b59b00627e0e068d6e63da7f21ee54d709a46c2.zip |
Improved makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1166 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARM7-LPC214x-GCC-minimal')
-rw-r--r-- | demos/ARM7-LPC214x-GCC-minimal/Makefile | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/demos/ARM7-LPC214x-GCC-minimal/Makefile b/demos/ARM7-LPC214x-GCC-minimal/Makefile index 23b74db74..5315948af 100644 --- a/demos/ARM7-LPC214x-GCC-minimal/Makefile +++ b/demos/ARM7-LPC214x-GCC-minimal/Makefile @@ -43,18 +43,19 @@ PROJECT = ch LDSCRIPT = ch.ld
# Imported source files
-include ../../os/ports/GCC/ARM7/port.mk
-include ../../os/kernel/kernel.mk
-#include ../../test/test.mk
+CHIBIOS = ../..
+include ${CHIBIOS}/os/ports/GCC/ARM7/port.mk
+include ${CHIBIOS}/os/kernel/kernel.mk
+#include ${CHIBIOS}/test/test.mk
# C sources that can be compiled in ARM or THUMB mode depending on the global
# setting.
CSRC = ${PORTSRC} \
${KERNSRC} \
${TESTSRC} \
- ../../os/io/pal.c \
- ../../os/io/platforms/LPC214x/pal_lld.c \
- ../../os/io/platforms/LPC214x/vic.c \
+ ${CHIBIOS}/os/io/pal.c \
+ ${CHIBIOS}/os/io/platforms/LPC214x/pal_lld.c \
+ ${CHIBIOS}/os/io/platforms/LPC214x/vic.c \
board.c main.c
# C++ sources that can be compiled in ARM or THUMB mode depending on the global
@@ -83,13 +84,13 @@ TCPPSRC = # List ASM source files here
ASMSRC = $(PORTASM) \
- ../../os/ports/GCC/ARM7/LPC214x/vectors.s
+ ${CHIBIOS}/os/ports/GCC/ARM7/LPC214x/vectors.s
INCDIR = $(PORTINC) $(KERNINC) $(TESTINC) \
- ../../os/io \
- ../../os/io/platforms/LPC214x \
- ../../os/various \
- ../../os/ports/GCC/ARM7/LPC214x
+ ${CHIBIOS}/os/io \
+ ${CHIBIOS}/os/io/platforms/LPC214x \
+ ${CHIBIOS}/os/various \
+ ${CHIBIOS}/os/ports/GCC/ARM7/LPC214x
#
# Project, sources and paths
@@ -177,4 +178,4 @@ ULIBS = # End of user defines
##############################################################################
-include ../../os/ports/GCC/ARM/rules.mk
+include ${CHIBIOS}/os/ports/GCC/ARM/rules.mk
|