summaryrefslogtreecommitdiff
path: root/nuttx/configs/twr-k60n512/ostest/Make.defs
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-05 23:01:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-10-05 23:01:51 +0000
commit504aab67db9f7d0ec7996796add85d2d4b798ae4 (patch)
tree45a9691ce93905db40ba6d2056b1cce17f30798e /nuttx/configs/twr-k60n512/ostest/Make.defs
parent985473319cd77dd5e966c56a915dfea45222f613 (diff)
downloadpx4-nuttx-504aab67db9f7d0ec7996796add85d2d4b798ae4.tar.gz
px4-nuttx-504aab67db9f7d0ec7996796add85d2d4b798ae4.tar.bz2
px4-nuttx-504aab67db9f7d0ec7996796add85d2d4b798ae4.zip
Add buildroot support for binutils-2.22 and gcc-4.6.3; all buildroot tools are not called abc-nuttx-elf instead of abc-elf
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5213 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/twr-k60n512/ostest/Make.defs')
-rw-r--r--nuttx/configs/twr-k60n512/ostest/Make.defs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/twr-k60n512/ostest/Make.defs b/nuttx/configs/twr-k60n512/ostest/Make.defs
index 2f5e208fe..93c887a2d 100644
--- a/nuttx/configs/twr-k60n512/ostest/Make.defs
+++ b/nuttx/configs/twr-k60n512/ostest/Make.defs
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_KINETIS_DEVKITARM),y)
endif
ifeq ($(CONFIG_KINETIS_BUILDROOT),y)
# NuttX buildroot under Linux or Cygwin
- CROSSDEV = arm-elf-
+ CROSSDEV = arm-nuttx-elf-
ARCHCPUFLAGS = -mtune=cortex-m3 -march=armv7-m -mfloat-abi=soft -mlong-calls
MAXOPTIMIZATION = -Os
endif
@@ -120,7 +120,7 @@ OBJEXT = .o
LIBEXT = .a
EXEEXT =
-ifneq ($(CROSSDEV),arm-elf-)
+ifneq ($(CROSSDEV),arm-nuttx-elf-)
LDFLAGS += -nostartfiles -nodefaultlibs
endif
ifeq ($(CONFIG_DEBUG_SYMBOLS),y)