aboutsummaryrefslogtreecommitdiff
path: root/nuttx/configs/shenzhou/nxwm/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-06 18:09:05 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-06 18:09:05 +0000
commitee341514da6ef18f2dca79226e5221268d49f4d2 (patch)
tree224185a0428861368a52eec226078358748b6912 /nuttx/configs/shenzhou/nxwm/Make.defs
parent79e092e3627aeaaa351fbbc2c19f3b0311dc4001 (diff)
downloadpx4-firmware-ee341514da6ef18f2dca79226e5221268d49f4d2.tar.gz
px4-firmware-ee341514da6ef18f2dca79226e5221268d49f4d2.tar.bz2
px4-firmware-ee341514da6ef18f2dca79226e5221268d49f4d2.zip
All Cortex-M Make.defs files updated to use buildroot EABI toolchain if BUILDROOT=y selected
git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5219 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/shenzhou/nxwm/Make.defs')
-rw-r--r--nuttx/configs/shenzhou/nxwm/Make.defs6
1 files changed, 5 insertions, 1 deletions
diff --git a/nuttx/configs/shenzhou/nxwm/Make.defs b/nuttx/configs/shenzhou/nxwm/Make.defs
index dfb0472a1..d94f0c38a 100644
--- a/nuttx/configs/shenzhou/nxwm/Make.defs
+++ b/nuttx/configs/shenzhou/nxwm/Make.defs
@@ -82,9 +82,13 @@ ifeq ($(CONFIG_STM32_RAISONANCE),y)
endif
ifeq ($(CONFIG_STM32_BUILDROOT),y)
# NuttX buildroot under Linux or Cygwin
+ # OABI
+ # CROSSDEV = arm-nuttx-elf-
+ # ARCROSSDEV = arm-nuttx-elf-
+ # ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
+ # EABI
CROSSDEV = arm-nuttx-eabi-
ARCROSSDEV = arm-nuttx-eabi-
-# ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft
ARCHCPUFLAGS = -mcpu=cortex-m3 -mthumb -mfloat-abi=soft
MAXOPTIMIZATION = -Os
endif