Changeset 29766


Ignore:
Timestamp:
2012-01-18T04:08:09+01:00 (6 years ago)
Author:
jow
Message:

[buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or
CONFIG_IPV6 are enabled but not supported by the toolchain.

Location:
trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/rules.mk

    r29754 r29766  
    149149        TARGET_LDFLAGS+= $(patsubst %,-L%,$(TOOLCHAIN_LIB_DIRS)) 
    150150      endif 
    151       TOOLCHAIN_DIR:=$(TOOLCHAIN_ROOT_DIR) 
     151      TARGET_PATH:=$(TOOLCHAIN_DIR)/bin:$(TARGET_PATH) 
    152152    endif 
    153153  endif 
  • trunk/toolchain/Makefile

    r29352 r29766  
    2929 
    3030# subdirectories to descend into 
    31 $(curdir)/builddirs := $(if $(CONFIG_GDB),gdb) $(if $(CONFIG_INSIGHT),insight) $(if $(CONFIG_EXTERNAL_TOOLCHAIN),,kernel-headers binutils gcc/minimal gcc/initial gcc/final $(LIBC) $(if $(CONFIG_GLIBC_PORTS),glibc-ports)) 
     31$(curdir)/builddirs := $(if $(CONFIG_GDB),gdb) $(if $(CONFIG_INSIGHT),insight) $(if $(CONFIG_EXTERNAL_TOOLCHAIN),wrapper,kernel-headers binutils gcc/minimal gcc/initial gcc/final $(LIBC) $(if $(CONFIG_GLIBC_PORTS),glibc-ports)) 
    3232$(curdir)/builddirs-compile:=$($(curdir)/builddirs-prepare) 
    3333$(curdir)/builddirs-install:=$($(curdir)/builddirs-compile) 
Note: See TracChangeset for help on using the changeset viewer.