summaryrefslogtreecommitdiff
path: root/nuttx/configs/ea3131/ostest/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-23 14:13:57 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-11-23 14:13:57 +0000
commit302877eafc373d8ae61d7ecc66f17968d4e1e643 (patch)
treeea307eb5f1582a00a29acfdb8e9b8e2dd32b62b6 /nuttx/configs/ea3131/ostest/Make.defs
parent5d8459bbc994e69d80127776d82faa185ae42f9c (diff)
downloadpx4-nuttx-302877eafc373d8ae61d7ecc66f17968d4e1e643.tar.gz
px4-nuttx-302877eafc373d8ae61d7ecc66f17968d4e1e643.tar.bz2
px4-nuttx-302877eafc373d8ae61d7ecc66f17968d4e1e643.zip
Add common Toolchain.defs for AVR/AVR32; Add Toolchain.defs for ARM; Add more toolchain options (from Mike); incdir.sh and .bat now take -s option
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5384 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/ea3131/ostest/Make.defs')
-rw-r--r--nuttx/configs/ea3131/ostest/Make.defs25
1 files changed, 1 insertions, 24 deletions
diff --git a/nuttx/configs/ea3131/ostest/Make.defs b/nuttx/configs/ea3131/ostest/Make.defs
index ba750e212..9c8780a4a 100644
--- a/nuttx/configs/ea3131/ostest/Make.defs
+++ b/nuttx/configs/ea3131/ostest/Make.defs
@@ -35,30 +35,7 @@
include ${TOPDIR}/.config
include ${TOPDIR}/tools/Config.mk
-
-# Setup for the selected toolchain
-
-ifeq ($(CONFIG_LPC31_CODESOURCERYW),y)
- # CodeSourcery under Windows
- CROSSDEV = arm-none-eabi-
- WINTOOL = y
- MAXOPTIMIZATION = -O2
-endif
-ifeq ($(CONFIG_LPC31_CODESOURCERYL),y)
- # CodeSourcery under Linux
- CROSSDEV = arm-none-eabi-
- MAXOPTIMIZATION = -O2
-endif
-ifeq ($(CONFIG_LPC31_DEVKITARM),y)
- # devkitARM under Windows
- CROSSDEV = arm-eabi-
- WINTOOL = y
-endif
-ifeq ($(CONFIG_LPC31_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