summaryrefslogtreecommitdiff
path: root/nuttx/configs/ntosd-dm320/udp/Make.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/ntosd-dm320/udp/Make.defs')
-rw-r--r--nuttx/configs/ntosd-dm320/udp/Make.defs25
1 files changed, 1 insertions, 24 deletions
diff --git a/nuttx/configs/ntosd-dm320/udp/Make.defs b/nuttx/configs/ntosd-dm320/udp/Make.defs
index 0cdb9f05d..1c8893289 100644
--- a/nuttx/configs/ntosd-dm320/udp/Make.defs
+++ b/nuttx/configs/ntosd-dm320/udp/Make.defs
@@ -35,30 +35,7 @@
include ${TOPDIR}/.config
include ${TOPDIR}/tools/Config.mk
-
-# Setup for the selected toolchain
-
-ifeq ($(CONFIG_DM320_CODESOURCERYW),y)
- # CodeSourcery under Windows
- CROSSDEV = arm-none-eabi-
- WINTOOL = y
- MAXOPTIMIZATION = -O2
-endif
-ifeq ($(CONFIG_DM320_CODESOURCERYL),y)
- # CodeSourcery under Linux
- CROSSDEV = arm-none-eabi-
- MAXOPTIMIZATION = -O2
-endif
-ifeq ($(CONFIG_DM320_DEVKITARM),y)
- # devkitARM under Windows
- CROSSDEV = arm-eabi-
- WINTOOL = y
-endif
-ifeq ($(CONFIG_DM320_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