From 9b59b00627e0e068d6e63da7f21ee54d709a46c2 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 19 Sep 2009 08:00:34 +0000 Subject: Improved makefiles. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1166 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/GCC/ARM7/port.mk | 10 +++++----- os/ports/GCC/ARMCM3/port.mk | 12 ++++++------ os/ports/GCC/AVR/port.mk | 6 +++--- os/ports/GCC/MSP430/port.mk | 6 +++--- 4 files changed, 17 insertions(+), 17 deletions(-) (limited to 'os/ports') 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 -- cgit v1.2.3