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
This commit is contained in:
patacongo
2012-10-05 23:01:51 +00:00
parent b4894c42dc
commit 1d1f34b3d0
160 changed files with 809 additions and 808 deletions
+2 -2
View File
@@ -58,7 +58,7 @@ ifeq ($(CONFIG_LM3S_DEVKITARM),y)
endif
ifeq ($(CONFIG_LM3S_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
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)