aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-19 08:00:34 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-09-19 08:00:34 +0000
commit9b59b00627e0e068d6e63da7f21ee54d709a46c2 (patch)
treee3ff1642c75b642e362eab6a6b0645adcded0b56 /os/ports
parentdb46ee952bdf71ee039adf1bcf549968763f7a40 (diff)
downloadChibiOS-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 'os/ports')
-rw-r--r--os/ports/GCC/ARM7/port.mk10
-rw-r--r--os/ports/GCC/ARMCM3/port.mk12
-rw-r--r--os/ports/GCC/AVR/port.mk6
-rw-r--r--os/ports/GCC/MSP430/port.mk6
4 files changed, 17 insertions, 17 deletions
diff --git a/os/ports/GCC/ARM7/port.mk b/os/ports/GCC/ARM7/port.mk
index d81135981..7ed810a9a 100644
--- a/os/ports/GCC/ARM7/port.mk
+++ b/os/ports/GCC/ARM7/port.mk
@@ -1,7 +1,7 @@
-# List of the ChibiOS/RT Cortex-M3 port files.
-PORTSRC = ../../os/ports/GCC/ARM7/chcore.c
+# List of the ChibiOS/RT ARM7 port files.
+PORTSRC = ${CHIBIOS}/os/ports/GCC/ARM7/chcore.c
-PORTASM = ../../os/ports/GCC/ARM7/crt0.s \
- ../../os/ports/GCC/ARM7/chcoreasm.s
+PORTASM = ${CHIBIOS}/os/ports/GCC/ARM7/crt0.s \
+ ${CHIBIOS}/os/ports/GCC/ARM7/chcoreasm.s
-PORTINC = ../../os/ports/GCC/ARM7
+PORTINC = ${CHIBIOS}/os/ports/GCC/ARM7
diff --git a/os/ports/GCC/ARMCM3/port.mk b/os/ports/GCC/ARMCM3/port.mk
index 8afb815ef..ccb5ea62e 100644
--- a/os/ports/GCC/ARMCM3/port.mk
+++ b/os/ports/GCC/ARMCM3/port.mk
@@ -1,9 +1,9 @@
# List of the ChibiOS/RT Cortex-M3 port files.
-PORTSRC = ../../os/ports/GCC/ARMCM3/chcore.c \
- ../../os/ports/GCC/ARMCM3/nvic.c \
- ../../os/ports/GCC/ARMCM3/cmsis/core_cm3.c
+PORTSRC = ${CHIBIOS}/os/ports/GCC/ARMCM3/chcore.c \
+ ${CHIBIOS}/os/ports/GCC/ARMCM3/nvic.c \
+ ${CHIBIOS}/os/ports/GCC/ARMCM3/cmsis/core_cm3.c
-PORTASM = ../../os/ports/GCC/ARMCM3/crt0.s
+PORTASM = ${CHIBIOS}/os/ports/GCC/ARMCM3/crt0.s
-PORTINC = ../../os/ports/GCC/ARMCM3 \
- ../../os/ports/GCC/ARMCM3/cmsis
+PORTINC = ${CHIBIOS}/os/ports/GCC/ARMCM3 \
+ ${CHIBIOS}/os/ports/GCC/ARMCM3/cmsis
diff --git a/os/ports/GCC/AVR/port.mk b/os/ports/GCC/AVR/port.mk
index 63f6fa1a5..7cafb56b2 100644
--- a/os/ports/GCC/AVR/port.mk
+++ b/os/ports/GCC/AVR/port.mk
@@ -1,6 +1,6 @@
-# List of the ChibiOS/RT Cortex-M3 port files.
-PORTSRC = ../../os/ports/GCC/AVR/chcore.c
+# List of the ChibiOS/RT AVR port files.
+PORTSRC = ${CHIBIOS}/os/ports/GCC/AVR/chcore.c
PORTASM =
-PORTINC = ../../os/ports/GCC/AVR
+PORTINC = ${CHIBIOS}/os/ports/GCC/AVR
diff --git a/os/ports/GCC/MSP430/port.mk b/os/ports/GCC/MSP430/port.mk
index 14fe0d646..60b3f8add 100644
--- a/os/ports/GCC/MSP430/port.mk
+++ b/os/ports/GCC/MSP430/port.mk
@@ -1,6 +1,6 @@
-# List of the ChibiOS/RT Cortex-M3 port files.
-PORTSRC = ../../os/ports/GCC/MSP430/chcore.c
+# List of the ChibiOS/RT MSP430 port files.
+PORTSRC = ${CHIBIOS}/os/ports/GCC/MSP430/chcore.c
PORTASM =
-PORTINC = ../../os/ports/GCC/MSP430
+PORTINC = ${CHIBIOS}/os/ports/GCC/MSP430