From 504aab67db9f7d0ec7996796add85d2d4b798ae4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 5 Oct 2012 23:01:51 +0000 Subject: 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 --- nuttx/configs/olimex-strp711/nsh/Make.defs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nuttx/configs/olimex-strp711/nsh/Make.defs') diff --git a/nuttx/configs/olimex-strp711/nsh/Make.defs b/nuttx/configs/olimex-strp711/nsh/Make.defs index ad75862fa..9ef265d0e 100644 --- a/nuttx/configs/olimex-strp711/nsh/Make.defs +++ b/nuttx/configs/olimex-strp711/nsh/Make.defs @@ -40,9 +40,9 @@ include ${TOPDIR}/tools/Config.mk # make -- Will build for the NuttX buildroot toolchain # make CROSSDEV=arm-eabi- -- Will build for the devkitARM toolchain # make CROSSDEV=arm-none-eabi- -- Will build for the CodeSourcery toolchain -# make CROSSDEV=arm-elf- -- Will build for the NuttX buildroot toolchain +# make CROSSDEV=arm-nuttx-elf- -- Will build for the NuttX buildroot toolchain -CROSSDEV = arm-elf- +CROSSDEV = arm-nuttx-elf- CC = $(CROSSDEV)gcc CXX = $(CROSSDEV)g++ CPP = $(CROSSDEV)gcc -E @@ -63,7 +63,7 @@ OBJCOPYARGS = -R .note -R .note.gnu.build-id -R .comment endif endif -ifeq ($(CROSSDEV),arm-elf-) +ifeq ($(CROSSDEV),arm-nuttx-elf-) MKDEP = $(TOPDIR)/tools/mkdeps.sh ARCHINCLUDES = -I. -isystem $(TOPDIR)/include ARCHXXINCLUDES = -I. -isystem $(TOPDIR)/include -isystem $(TOPDIR)/include/cxx @@ -118,7 +118,7 @@ OBJEXT = .o LIBEXT = .a EXEEXT = -ifneq ($(CROSSDEV),arm-elf-) +ifneq ($(CROSSDEV),arm-nuttx-elf-) LDFLAGS += -nostartfiles -nodefaultlibs endif ifeq ($(CONFIG_DEBUG_SYMBOLS),y) -- cgit v1.2.3