summaryrefslogtreecommitdiff
path: root/nuttx/configs/olimex-lpc2378/nsh/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/olimex-lpc2378/nsh/Make.defs')
-rw-r--r--nuttx/configs/olimex-lpc2378/nsh/Make.defs25
1 files changed, 1 insertions, 24 deletions
diff --git a/nuttx/configs/olimex-lpc2378/nsh/Make.defs b/nuttx/configs/olimex-lpc2378/nsh/Make.defs
index 5fba7e214..a7fce92f4 100644
--- a/nuttx/configs/olimex-lpc2378/nsh/Make.defs
+++ b/nuttx/configs/olimex-lpc2378/nsh/Make.defs
@@ -40,30 +40,7 @@
include ${TOPDIR}/.config
include ${TOPDIR}/tools/Config.mk
-
-# Setup for the selected toolchain
-
-ifeq ($(CONFIG_OLIMEX_LPC2378_CODESOURCERYW),y)
- # CodeSourcery under Windows
- CROSSDEV = arm-none-eabi-
- WINTOOL = y
- MAXOPTIMIZATION = -O2
-endif
-ifeq ($(CONFIG_OLIMEX_LPC2378_CODESOURCERYL),y)
- # CodeSourcery under Linux
- CROSSDEV = arm-none-eabi-
- MAXOPTIMIZATION = -O2
-endif
-ifeq ($(CONFIG_OLIMEX_LPC2378_DEVKITARM),y)
- # devkitARM under Windows
- CROSSDEV = arm-eabi-
- WINTOOL = y
-endif
-ifeq ($(CONFIG_OLIMEX_LPC2378_BUILDROOT),y)
- # NuttX buildroot under Linux or Cygwin
- CROSSDEV = arm-nuttx-elf-
- MAXOPTIMIZATION = -Os
-endif
+include ${TOPDIR}/arch/arm/src/arm/Toolchain.defs
ifeq ($(WINTOOL),y)
# Windows-native toolchains