Patchwork [RFCv1,02/11] toolchain-crosstool-ng: remove support

login
register
mail settings
Submitter Thomas Petazzoni
Date Sept. 5, 2013, 9:27 p.m.
Message ID <1378416469-17708-3-git-send-email-thomas.petazzoni@free-electrons.com>
Download mbox | patch
Permalink /patch/272982/
State Superseded
Headers show

Comments

Thomas Petazzoni - Sept. 5, 2013, 9:27 p.m.
In order to avoid the work of converting the toolchain-crosstool-ng
logic to the package infrastructure, we remove it from Buildroot,
since it has been deprecated since quite some time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
If we consider it too early to get rid of the Crosstool-NG backend
entirely, then it can of course be converted to the package
infrastructure, with quite a bit of effort (which we wanted to avoid
for now).
---
 Makefile                                           |   7 -
 toolchain/Config.in                                |  13 -
 toolchain/helpers.mk                               |   4 +-
 toolchain/toolchain-common.in                      |   4 -
 toolchain/toolchain-crosstool-ng.mk                |   5 -
 toolchain/toolchain-crosstool-ng/Config.in         | 133 ------
 .../crosstool-ng.config-eglibc                     | 502 ---------------------
 .../crosstool-ng.config-glibc                      | 491 --------------------
 .../crosstool-ng.config-uClibc                     | 473 -------------------
 toolchain/toolchain-crosstool-ng/crosstool-ng.mk   | 396 ----------------
 10 files changed, 1 insertion(+), 2027 deletions(-)
 delete mode 100644 toolchain/toolchain-crosstool-ng.mk
 delete mode 100644 toolchain/toolchain-crosstool-ng/Config.in
 delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
 delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
 delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
 delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.mk
Yann E. MORIN - Sept. 6, 2013, 9:35 a.m.
Thomas, All,

On 2013-09-05 23:27 +0200, Thomas Petazzoni spake thusly:
> In order to avoid the work of converting the toolchain-crosstool-ng
> logic to the package infrastructure, we remove it from Buildroot,
> since it has been deprecated since quite some time.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> If we consider it too early to get rid of the Crosstool-NG backend
> entirely, then it can of course be converted to the package
> infrastructure, with quite a bit of effort (which we wanted to avoid
> for now).

I don't care we remove it.

One of the blocking points that users were concerned about was to be
able to generate glibc/eglibc-based toolchains directly from within
Buildroot, hence some chimed in to keep the crosstool-NG backend.

Now that Buildroot can buid glibc/eglibc-based toolchain with its
internal backend, I see no reason to keep the crosstool-Ng backend at
all. So:

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

As I said in a recently-posted patch (changes the manual to state the
crosstool-NG backend was deprecated), people that really want to use
crosstool-Ng can still do so outside of Buildroot, and use that
toolchain as an external toolchain.

Regards,
Yann E. MORIN.
Yann E. MORIN - Sept. 6, 2013, 3:53 p.m.
Thomas, All,

On 2013-09-05 23:27 +0200, Thomas Petazzoni spake thusly:
> In order to avoid the work of converting the toolchain-crosstool-ng
> logic to the package infrastructure, we remove it from Buildroot,
> since it has been deprecated since quite some time.

BTW, you forgot to remove references to the crosstool-NG backend from
the manual while at it. ;-)

Regards,
Yann E. MORIN.
Thomas Petazzoni - Sept. 6, 2013, 3:56 p.m.
Dear Yann E. MORIN,

On Fri, 6 Sep 2013 17:53:47 +0200, Yann E. MORIN wrote:

> On 2013-09-05 23:27 +0200, Thomas Petazzoni spake thusly:
> > In order to avoid the work of converting the toolchain-crosstool-ng
> > logic to the package infrastructure, we remove it from Buildroot,
> > since it has been deprecated since quite some time.
> 
> BTW, you forgot to remove references to the crosstool-NG backend from
> the manual while at it. ;-)

Yes, that's intentional for now. I've sent this patch set as an RFC to
get some feedback and testing. If the feedback is positive, I'll post
an updated version that includes the changes to the manual.

Thanks,

Thomas
Thomas De Schampheleire - Sept. 8, 2013, 12:52 p.m.
Hi Thomas,

On Thu, Sep 5, 2013 at 11:27 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> In order to avoid the work of converting the toolchain-crosstool-ng
> logic to the package infrastructure, we remove it from Buildroot,
> since it has been deprecated since quite some time.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> If we consider it too early to get rid of the Crosstool-NG backend
> entirely, then it can of course be converted to the package
> infrastructure, with quite a bit of effort (which we wanted to avoid
> for now).
> ---
>  Makefile                                           |   7 -
>  toolchain/Config.in                                |  13 -
>  toolchain/helpers.mk                               |   4 +-
>  toolchain/toolchain-common.in                      |   4 -
>  toolchain/toolchain-crosstool-ng.mk                |   5 -
>  toolchain/toolchain-crosstool-ng/Config.in         | 133 ------
>  .../crosstool-ng.config-eglibc                     | 502 ---------------------
>  .../crosstool-ng.config-glibc                      | 491 --------------------
>  .../crosstool-ng.config-uClibc                     | 473 -------------------
>  toolchain/toolchain-crosstool-ng/crosstool-ng.mk   | 396 ----------------
>  10 files changed, 1 insertion(+), 2027 deletions(-)
>  delete mode 100644 toolchain/toolchain-crosstool-ng.mk
>  delete mode 100644 toolchain/toolchain-crosstool-ng/Config.in
>  delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
>  delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
>  delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
>  delete mode 100644 toolchain/toolchain-crosstool-ng/crosstool-ng.mk
>
> diff --git a/Makefile b/Makefile
> index 93fc6ea..f64a101 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -226,8 +226,6 @@ ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
>  BASE_TARGETS += toolchain-buildroot
>  else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
>  BASE_TARGETS += toolchain-external
> -else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
> -BASE_TARGETS += toolchain-crosstool-ng
>  endif
>
>  TARGETS:=
> @@ -322,8 +320,6 @@ ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
>  include toolchain/toolchain-buildroot.mk
>  else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
>  include toolchain/toolchain-external.mk
> -else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
> -include toolchain/toolchain-crosstool-ng.mk
>  endif
>
>  # Include the package override file if one has been provided in the
> @@ -805,9 +801,6 @@ endif
>  ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
>         @echo '  uclibc-menuconfig      - Run uClibc menuconfig'
>  endif
> -ifeq ($(BR2_TOOLCHAIN_CTNG),y)
> -       @echo '  ctng-menuconfig        - Run crosstool-NG menuconfig'
> -endif
>  ifeq ($(BR2_TARGET_BAREBOX),y)
>         @echo '  barebox-menuconfig     - Run barebox menuconfig'
>         @echo '  barebox-savedefconfig  - Run barebox savedefconfig'
> diff --git a/toolchain/Config.in b/toolchain/Config.in
> index 9d1e68f..4bb147f 100644
> --- a/toolchain/Config.in
> +++ b/toolchain/Config.in
> @@ -35,23 +35,10 @@ config BR2_TOOLCHAIN_EXTERNAL
>           toolchain. Buildroot can either download automatically a
>           toolchain, or use an already installed toolchain.
>
> -config BR2_TOOLCHAIN_CTNG
> -       bool "Crosstool-NG toolchain"
> -       depends on BR2_DEPRECATED
> -       depends on !BR2_microblaze && !BR2_aarch64 && !BR2_xtensa && \
> -                  !BR2_arc && !BR2_nios2
> -       select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
> -       help
> -         Say 'y' if you want to generate the toolchain with crosstool-NG
> -         (http://crosstool-ng.org).
> -
> -         This is considered experimental, and you can expect some breakage.
> -
>  endchoice
>
>  source "toolchain/toolchain-buildroot/Config.in"
>  source "toolchain/toolchain-external/Config.in"
> -source "toolchain/toolchain-crosstool-ng/Config.in"
>  source "toolchain/toolchain-common.in"
>  source "toolchain/toolchain-buildroot/Config.in.2"
>
> diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
> index 44b6018..e6ecc02 100644
> --- a/toolchain/helpers.mk
> +++ b/toolchain/helpers.mk
> @@ -1,7 +1,5 @@
>  # This Makefile fragment declares helper functions, usefull to handle
> -# non- buildroot-built toolchains, eg. purely external toolchains or
> -# toolchains (internally) built using crosstool-NG.
> -
> +# non- buildroot-built toolchains, eg. purely external toolchains.
>  #
>  # Copy a toolchain library and its symbolic links from the sysroot
>  # directory to the target directory. Also optionaly strips the
> diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
> index dc3bd2a..bff11f5 100644
> --- a/toolchain/toolchain-common.in
> +++ b/toolchain/toolchain-common.in
> @@ -56,10 +56,6 @@ config BR2_ENABLE_LOCALE_WHITELIST
>  config BR2_GENERATE_LOCALE
>         string "Generate locale data"
>         default ""
> -       # Pre-built uClibc external toolchains and uClibc toolchains
> -       # built by the Crosstool-NG backend cannot be supported,
> -       # because the list of locales to support must be defined at
> -       # build time.
>         depends on \
>                 BR2_TOOLCHAIN_BUILDROOT      || \
>                 BR2_TOOLCHAIN_USES_GLIBC
> diff --git a/toolchain/toolchain-crosstool-ng.mk b/toolchain/toolchain-crosstool-ng.mk
> deleted file mode 100644
> index 9e666a0..0000000
> --- a/toolchain/toolchain-crosstool-ng.mk
> +++ /dev/null
> @@ -1,5 +0,0 @@
> -# Required includes for the external toolchain backend
> -
> -# Explicit ordering:
> -include toolchain/helpers.mk
> -include toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> diff --git a/toolchain/toolchain-crosstool-ng/Config.in b/toolchain/toolchain-crosstool-ng/Config.in
> deleted file mode 100644
> index 7cfd8c2..0000000
> --- a/toolchain/toolchain-crosstool-ng/Config.in
> +++ /dev/null
> @@ -1,133 +0,0 @@
> -# Selection options for crosstool-NG
> -
> -if BR2_TOOLCHAIN_CTNG
> -
> -choice
> -       prompt "Crosstool-NG C library"
> -
> -config BR2_TOOLCHAIN_CTNG_uClibc
> -       bool "uClibc"
> -       select BR2_TOOLCHAIN_USES_UCLIBC
> -
> -# Although eglibc can be configured to opt-out some features,
> -# let's not deal with that for the time being, it's complex...
> -config BR2_TOOLCHAIN_CTNG_eglibc
> -       bool "eglibc"
> -       # Our default ct-ng configuration uses eglibc 2.12, which has
> -       # native RPC support
> -       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> -       select BR2_TOOLCHAIN_USES_GLIBC
> -
> -config BR2_TOOLCHAIN_CTNG_glibc
> -       bool "glibc"
> -       # Our default ct-ng configuration uses glibc 2.14.1, which
> -       # does not have native RPC support
> -       select BR2_TOOLCHAIN_USES_GLIBC
> -
> -endchoice # C library
> -
> -config BR2_TOOLCHAIN_CTNG_LIBC
> -       string
> -       default "uClibc"        if BR2_TOOLCHAIN_CTNG_uClibc
> -       default "eglibc"        if BR2_TOOLCHAIN_CTNG_eglibc
> -       default "glibc"         if BR2_TOOLCHAIN_CTNG_glibc
> -
> -config BR2_TOOLCHAIN_CTNG_CONFIG
> -       string "crosstool-NG configuration file to use"
> -       default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc" if BR2_TOOLCHAIN_CTNG_uClibc
> -       default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc" if BR2_TOOLCHAIN_CTNG_eglibc
> -       default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc"  if BR2_TOOLCHAIN_CTNG_glibc
> -       help
> -         Enter here the path to the crosstool-NG .config file to use.
> -
> -         Generally, the default crosstool-NG configuration files bundled with
> -         Buildroot work fine in most situations. Use 'make ctng-menuconfig'
> -         from the command line, for expert customization of your toolchain.
> -
> -         If unsure, keep the default value.
> -
> -if BR2_TOOLCHAIN_CTNG_uClibc
> -
> -comment "Toolchain Options"
> -
> -config BR2_TOOLCHAIN_CTNG_uClibc_LARGEFILE
> -       bool "Enable large file (files > 2 GB) support"
> -       select BR2_LARGEFILE
> -       help
> -         Enable this option if you want your toolchain to support
> -         files bigger than 2 GB.
> -
> -config BR2_TOOLCHAIN_CTNG_uClibc_INET_IPV6
> -       bool "Enable IPv6 support"
> -       select BR2_INET_IPV6
> -       help
> -         Enable this option if you want your toolchain to support
> -         IPv6.
> -
> -config BR2_TOOLCHAIN_CTNG_uClibc_INET_RPC
> -       bool "Enable RPC support"
> -       select BR2_TOOLCHAIN_HAS_NATIVE_RPC
> -       help
> -         Enable this option if you want your toolchain to support
> -         RPC (needed for NFS, for example).
> -
> -config BR2_TOOLCHAIN_CTNG_uClibc_WCHAR
> -       bool "Enable WCHAR support"
> -       select BR2_USE_WCHAR
> -       help
> -         Enable this option if you want your toolchain to support
> -         wide characters (i.e characters longer than 8 bits, needed
> -         for locale support).
> -
> -config BR2_TOOLCHAIN_CTNG_uClibc_LOCALE
> -       bool "Enable toolchain locale/i18n support"
> -       select BR2_TOOLCHAIN_CTNG_uClibc_WCHAR
> -       select BR2_ENABLE_LOCALE
> -       help
> -         Enable this option if you want your toolchain to support
> -         localization and internationalization.
> -
> -endif # BR2_TOOLCHAIN_CTNG_uClibc
> -
> -config BR2_TOOLCHAIN_CTNG_CXX
> -       bool "Enable C++ support"
> -       select BR2_INSTALL_LIBSTDCPP
> -       help
> -         Enable this option if you want your toolchain to support the
> -         C++ language and you want C++ libraries to be installed on
> -         your target system.
> -
> -choice
> -       prompt "Thread library implementation"
> -       default BR2_TOOLCHAIN_CTNG_THREADS_NPTL
> -       help
> -         Enable thread support and select thread implementation. With
> -         glibc, thread support is mandatory but several
> -         implementations are available. With uClibc, thread support
> -         is optional, and when enabled, several implementations are
> -         available. However, not all thread variants work with all
> -         versions of uClibc for all architectures, the "linuxthreads
> -         (stable/old)" may be a working fallback.
> -
> -       config BR2_TOOLCHAIN_CTNG_THREADS_NONE
> -               bool "none"
> -               depends on BR2_TOOLCHAIN_CTNG_uClibc
> -
> -       config BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS
> -               bool "linuxthreads"
> -               select BR2_TOOLCHAIN_HAS_THREADS
> -               select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
> -
> -       config BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS_OLD
> -               bool "linuxthreads (stable/old)"
> -               select BR2_TOOLCHAIN_HAS_THREADS
> -               select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
> -               depends on BR2_TOOLCHAIN_CTNG_uClibc
> -
> -       config BR2_TOOLCHAIN_CTNG_THREADS_NPTL
> -               bool "Native POSIX Threading (NPTL)"
> -               select BR2_TOOLCHAIN_HAS_THREADS
> -               select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
> -endchoice
> -
> -endif # BR2_TOOLCHAIN_CTNG
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
> deleted file mode 100644
> index 08f036c..0000000
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
> +++ /dev/null
> @@ -1,502 +0,0 @@
> -#
> -# Automatically generated make config: don't edit
> -# crosstool-NG 1.17.0 Configuration
> -# Sat Dec  8 12:57:07 2012
> -#
> -CT_CONFIGURE_has_xz=y
> -CT_CONFIGURE_has_svn=y
> -CT_MODULES=y
> -
> -#
> -# Paths and misc options
> -#
> -
> -#
> -# crosstool-NG behavior
> -#
> -# CT_OBSOLETE is not set
> -# CT_EXPERIMENTAL is not set
> -# CT_DEBUG_CT is not set
> -
> -#
> -# Paths
> -#
> -CT_LOCAL_TARBALLS_DIR=""
> -CT_WORK_DIR="${CT_TOP_DIR}/.build"
> -CT_PREFIX_DIR=""
> -CT_INSTALL_DIR="${CT_PREFIX_DIR}"
> -CT_RM_RF_PREFIX_DIR=y
> -CT_REMOVE_DOCS=y
> -# CT_INSTALL_DIR_RO is not set
> -# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
> -
> -#
> -# Downloading
> -#
> -# CT_FORBID_DOWNLOAD is not set
> -# CT_FORCE_DOWNLOAD is not set
> -CT_CONNECT_TIMEOUT=10
> -# CT_ONLY_DOWNLOAD is not set
> -# CT_USE_MIRROR is not set
> -
> -#
> -# Extracting
> -#
> -# CT_FORCE_EXTRACT is not set
> -CT_OVERIDE_CONFIG_GUESS_SUB=y
> -# CT_ONLY_EXTRACT is not set
> -CT_PATCH_BUNDLED=y
> -# CT_PATCH_LOCAL is not set
> -# CT_PATCH_BUNDLED_LOCAL is not set
> -# CT_PATCH_LOCAL_BUNDLED is not set
> -# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
> -# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
> -# CT_PATCH_NONE is not set
> -CT_PATCH_ORDER="bundled"
> -
> -#
> -# Build behavior
> -#
> -CT_PARALLEL_JOBS=0
> -CT_LOAD=0
> -CT_USE_PIPES=y
> -CT_EXTRA_FLAGS_FOR_HOST=""
> -# CT_CONFIG_SHELL_SH is not set
> -# CT_CONFIG_SHELL_ASH is not set
> -CT_CONFIG_SHELL_BASH=y
> -# CT_CONFIG_SHELL_CUSTOM is not set
> -CT_CONFIG_SHELL="${bash}"
> -
> -#
> -# Logging
> -#
> -# CT_LOG_ERROR is not set
> -# CT_LOG_WARN is not set
> -# CT_LOG_INFO is not set
> -# CT_LOG_EXTRA is not set
> -CT_LOG_ALL=y
> -# CT_LOG_DEBUG is not set
> -CT_LOG_LEVEL_MAX="ALL"
> -# CT_LOG_SEE_TOOLS_WARN is not set
> -CT_LOG_TO_FILE=y
> -CT_LOG_FILE_COMPRESS=y
> -
> -#
> -# Target options
> -#
> -CT_ARCH="arm"
> -CT_ARCH_SUPPORTS_BOTH_MMU=y
> -CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
> -CT_ARCH_SUPPORTS_32=y
> -CT_ARCH_SUPPORTS_WITH_ARCH=y
> -CT_ARCH_SUPPORTS_WITH_CPU=y
> -CT_ARCH_SUPPORTS_WITH_TUNE=y
> -CT_ARCH_SUPPORTS_WITH_FLOAT=y
> -CT_ARCH_SUPPORTS_WITH_FPU=y
> -CT_ARCH_SUPPORTS_SOFTFP=y
> -CT_ARCH_DEFAULT_HAS_MMU=y
> -CT_ARCH_DEFAULT_LE=y
> -CT_ARCH_DEFAULT_32=y
> -CT_ARCH_ARCH=""
> -CT_ARCH_CPU=""
> -CT_ARCH_TUNE=""
> -CT_ARCH_FPU=""
> -# CT_ARCH_BE is not set
> -CT_ARCH_LE=y
> -CT_ARCH_32=y
> -CT_ARCH_BITNESS=32
> -# CT_ARCH_FLOAT_HW is not set
> -CT_ARCH_FLOAT_SW=y
> -CT_TARGET_CFLAGS=""
> -CT_TARGET_LDFLAGS=""
> -# CT_ARCH_alpha is not set
> -CT_ARCH_arm=y
> -# CT_ARCH_avr32 is not set
> -# CT_ARCH_blackfin is not set
> -# CT_ARCH_mips is not set
> -# CT_ARCH_powerpc is not set
> -# CT_ARCH_sh is not set
> -# CT_ARCH_sparc is not set
> -# CT_ARCH_x86 is not set
> -CT_ARCH_alpha_AVAILABLE=y
> -CT_ARCH_arm_AVAILABLE=y
> -CT_ARCH_avr32_AVAILABLE=y
> -CT_ARCH_blackfin_AVAILABLE=y
> -CT_ARCH_m68k_AVAILABLE=y
> -CT_ARCH_microblaze_AVAILABLE=y
> -CT_ARCH_mips_AVAILABLE=y
> -CT_ARCH_powerpc_AVAILABLE=y
> -CT_ARCH_s390_AVAILABLE=y
> -CT_ARCH_sh_AVAILABLE=y
> -CT_ARCH_sparc_AVAILABLE=y
> -CT_ARCH_x86_AVAILABLE=y
> -
> -#
> -# Generic target options
> -#
> -CT_ARCH_USE_MMU=y
> -CT_ARCH_ENDIAN="little"
> -
> -#
> -# Target optimisations
> -#
> -# CT_ARCH_FLOAT_SOFTFP is not set
> -CT_ARCH_FLOAT="soft"
> -
> -#
> -# arm other options
> -#
> -CT_ARCH_ARM_MODE="arm"
> -CT_ARCH_ARM_MODE_ARM=y
> -CT_ARCH_ARM_EABI=y
> -
> -#
> -# Toolchain options
> -#
> -
> -#
> -# General toolchain options
> -#
> -CT_FORCE_SYSROOT=y
> -CT_USE_SYSROOT=y
> -CT_SYSROOT_NAME="sysroot"
> -CT_SYSROOT_DIR_PREFIX=""
> -CT_WANTS_STATIC_LINK=y
> -CT_TOOLCHAIN_PKGVERSION=""
> -CT_TOOLCHAIN_BUGURL=""
> -
> -#
> -# Tuple completion and aliasing
> -#
> -CT_TARGET_VENDOR="unknown"
> -CT_TARGET_ALIAS_SED_EXPR=""
> -CT_TARGET_ALIAS=""
> -
> -#
> -# Toolchain type
> -#
> -CT_CROSS=y
> -CT_TOOLCHAIN_TYPE="cross"
> -
> -#
> -# Build system
> -#
> -CT_BUILD=""
> -CT_BUILD_PREFIX=""
> -CT_BUILD_SUFFIX=""
> -
> -#
> -# Misc options
> -#
> -# CT_TOOLCHAIN_ENABLE_NLS is not set
> -
> -#
> -# Operating System
> -#
> -CT_KERNEL_SUPPORTS_SHARED_LIBS=y
> -CT_KERNEL="linux"
> -CT_KERNEL_VERSION="3.6.3"
> -# CT_KERNEL_bare_metal is not set
> -CT_KERNEL_linux=y
> -CT_KERNEL_bare_metal_AVAILABLE=y
> -CT_KERNEL_linux_AVAILABLE=y
> -CT_KERNEL_V_3_6_3=y
> -# CT_KERNEL_V_3_6_2 is not set
> -# CT_KERNEL_V_3_6_1 is not set
> -# CT_KERNEL_V_3_6 is not set
> -# CT_KERNEL_V_3_5_7 is not set
> -# CT_KERNEL_V_3_4_15 is not set
> -# CT_KERNEL_V_3_3_8 is not set
> -# CT_KERNEL_V_3_2_32 is not set
> -# CT_KERNEL_V_3_1_10 is not set
> -# CT_KERNEL_V_3_0_48 is not set
> -# CT_KERNEL_V_2_6_39_4 is not set
> -# CT_KERNEL_V_2_6_38_8 is not set
> -# CT_KERNEL_V_2_6_37_6 is not set
> -# CT_KERNEL_V_2_6_36_4 is not set
> -# CT_KERNEL_V_2_6_33_20 is not set
> -# CT_KERNEL_V_2_6_32_60 is not set
> -# CT_KERNEL_V_2_6_31_14 is not set
> -# CT_KERNEL_V_2_6_27_62 is not set
> -# CT_KERNEL_LINUX_CUSTOM is not set
> -CT_KERNEL_mingw32_AVAILABLE=y
> -
> -#
> -# Common kernel options
> -#
> -CT_SHARED_LIBS=y
> -
> -#
> -# linux other options
> -#
> -CT_KERNEL_LINUX_VERBOSITY_0=y
> -# CT_KERNEL_LINUX_VERBOSITY_1 is not set
> -# CT_KERNEL_LINUX_VERBOSITY_2 is not set
> -CT_KERNEL_LINUX_VERBOSE_LEVEL=0
> -CT_KERNEL_LINUX_INSTALL_CHECK=y
> -
> -#
> -# Binary utilities
> -#
> -CT_ARCH_BINFMT_ELF=y
> -
> -#
> -# GNU binutils
> -#
> -# CT_BINUTILS_V_2_21_1a is not set
> -CT_BINUTILS_V_2_20_1a=y
> -# CT_BINUTILS_V_2_19_1a is not set
> -# CT_BINUTILS_V_2_18a is not set
> -CT_BINUTILS_VERSION="2.20.1a"
> -CT_BINUTILS_2_20_or_later=y
> -CT_BINUTILS_2_19_or_later=y
> -CT_BINUTILS_2_18_or_later=y
> -CT_BINUTILS_HAS_HASH_STYLE=y
> -CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
> -CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
> -CT_BINUTILS_FORCE_LD_BFD=y
> -CT_BINUTILS_LINKER_LD=y
> -CT_BINUTILS_LINKERS_LIST="ld"
> -CT_BINUTILS_LINKER_DEFAULT="bfd"
> -CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
> -# CT_BINUTILS_FOR_TARGET is not set
> -
> -#
> -# C compiler
> -#
> -CT_CC="gcc"
> -CT_CC_VERSION="4.6.3"
> -CT_CC_gcc=y
> -# CT_CC_V_4_7_2 is not set
> -CT_CC_V_4_6_3=y
> -# CT_CC_V_4_6_2 is not set
> -# CT_CC_V_4_6_1 is not set
> -# CT_CC_V_4_6_0 is not set
> -# CT_CC_V_4_5_3 is not set
> -# CT_CC_V_4_5_2 is not set
> -# CT_CC_V_4_5_1 is not set
> -# CT_CC_V_4_5_0 is not set
> -# CT_CC_V_4_4_7 is not set
> -# CT_CC_V_4_4_6 is not set
> -# CT_CC_V_4_4_5 is not set
> -# CT_CC_V_4_4_4 is not set
> -# CT_CC_V_4_4_3 is not set
> -# CT_CC_V_4_4_2 is not set
> -# CT_CC_V_4_4_1 is not set
> -# CT_CC_V_4_4_0 is not set
> -# CT_CC_V_4_3_6 is not set
> -# CT_CC_V_4_3_5 is not set
> -# CT_CC_V_4_3_4 is not set
> -# CT_CC_V_4_3_3 is not set
> -# CT_CC_V_4_3_2 is not set
> -# CT_CC_V_4_3_1 is not set
> -# CT_CC_V_4_2_4 is not set
> -# CT_CC_V_4_2_2 is not set
> -CT_CC_GCC_4_2_or_later=y
> -CT_CC_GCC_4_3_or_later=y
> -CT_CC_GCC_4_4_or_later=y
> -CT_CC_GCC_4_5_or_later=y
> -CT_CC_GCC_4_6=y
> -CT_CC_GCC_4_6_or_later=y
> -CT_CC_GCC_HAS_GRAPHITE=y
> -CT_CC_GCC_HAS_LTO=y
> -CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
> -CT_CC_GCC_HAS_BUILD_ID=y
> -CT_CC_GCC_USE_GMP_MPFR=y
> -CT_CC_GCC_USE_PPL_CLOOG=y
> -CT_CC_GCC_USE_MPC=y
> -CT_CC_GCC_HAS_LIBQUADMATH=y
> -# CT_CC_LANG_FORTRAN is not set
> -CT_CC_SUPPORT_CXX=y
> -CT_CC_SUPPORT_FORTRAN=y
> -CT_CC_SUPPORT_JAVA=y
> -CT_CC_SUPPORT_ADA=y
> -CT_CC_SUPPORT_OBJC=y
> -CT_CC_SUPPORT_OBJCXX=y
> -
> -#
> -# Additional supported languages:
> -#
> -CT_CC_LANG_CXX=y
> -# CT_CC_LANG_JAVA is not set
> -
> -#
> -# gcc other options
> -#
> -CT_CC_ENABLE_CXX_FLAGS=""
> -CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
> -CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
> -CT_CC_STATIC_LIBSTDCXX=y
> -
> -#
> -# Optimisation features
> -#
> -CT_CC_GCC_USE_GRAPHITE=y
> -CT_CC_GCC_USE_LTO=y
> -
> -#
> -# Settings for libraries running on target
> -#
> -CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
> -# CT_CC_GCC_LIBMUDFLAP is not set
> -# CT_CC_GCC_LIBGOMP is not set
> -# CT_CC_GCC_LIBSSP is not set
> -# CT_CC_GCC_LIBQUADMATH is not set
> -
> -#
> -# Misc. obscure options.
> -#
> -CT_CC_CXA_ATEXIT=y
> -# CT_CC_GCC_DISABLE_PCH is not set
> -CT_CC_GCC_SJLJ_EXCEPTIONS=m
> -CT_CC_GCC_LDBL_128=m
> -# CT_CC_GCC_BUILD_ID is not set
> -
> -#
> -# C-library
> -#
> -CT_LIBC="eglibc"
> -CT_LIBC_VERSION="2_12"
> -CT_LIBC_eglibc=y
> -# CT_LIBC_glibc is not set
> -# CT_LIBC_uClibc is not set
> -CT_LIBC_eglibc_AVAILABLE=y
> -# CT_LIBC_EGLIBC_V_2_16 is not set
> -# CT_LIBC_EGLIBC_V_2_15 is not set
> -# CT_LIBC_EGLIBC_V_2_14 is not set
> -# CT_LIBC_EGLIBC_V_2_13 is not set
> -CT_LIBC_EGLIBC_V_2_12=y
> -# CT_LIBC_EGLIBC_V_2_11 is not set
> -# CT_LIBC_EGLIBC_V_2_10 is not set
> -# CT_LIBC_EGLIBC_V_2_9 is not set
> -# CT_LIBC_EGLIBC_V_TRUNK is not set
> -CT_LIBC_EGLIBC_2_12_or_later=y
> -CT_LIBC_EGLIBC_2_11_or_later=y
> -CT_LIBC_EGLIBC_2_10_or_later=y
> -CT_LIBC_EGLIBC_2_9_or_later=y
> -CT_LIBC_EGLIBC_HAS_PKGVERSION_BUGURL=y
> -CT_EGLIBC_REVISION="HEAD"
> -# CT_EGLIBC_HTTP is not set
> -# CT_EGLIBC_CHECKOUT is not set
> -CT_EGLIBC_OPT_SIZE=y
> -# CT_EGLIBC_CUSTOM_CONFIG is not set
> -CT_LIBC_glibc_AVAILABLE=y
> -CT_LIBC_mingw_AVAILABLE=y
> -CT_LIBC_newlib_AVAILABLE=y
> -CT_LIBC_none_AVAILABLE=y
> -CT_LIBC_uClibc_AVAILABLE=y
> -CT_LIBC_SUPPORT_THREADS_ANY=y
> -CT_LIBC_SUPPORT_NPTL=y
> -CT_LIBC_SUPPORT_LINUXTHREADS=y
> -CT_THREADS="nptl"
> -
> -#
> -# Common C library options
> -#
> -CT_THREADS_NPTL=y
> -# CT_THREADS_LINUXTHREADS is not set
> -CT_LIBC_XLDD=y
> -
> -#
> -# eglibc other options
> -#
> -CT_LIBC_GLIBC_MAY_FORCE_PORTS=y
> -CT_LIBC_glibc_familly=y
> -CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
> -CT_LIBC_GLIBC_CONFIGPARMS=""
> -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
> -CT_LIBC_EXTRA_CC_ARGS=""
> -# CT_LIBC_DISABLE_VERSIONING is not set
> -CT_LIBC_OLDEST_ABI=""
> -CT_LIBC_GLIBC_FORCE_UNWIND=y
> -CT_LIBC_GLIBC_USE_PORTS=y
> -CT_LIBC_ADDONS_LIST=""
> -
> -#
> -# WARNING !!!
> -#
> -
> -#
> -#   For glibc >= 2.8, it can happen that the tarballs
> -#
> -
> -#
> -#   for the addons are not available for download.
> -#
> -
> -#
> -#   If that happens, bad luck... Try a previous version
> -#
> -
> -#
> -#   or try again later... :-(
> -#
> -# CT_LIBC_LOCALES is not set
> -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
> -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
> -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
> -CT_LIBC_GLIBC_MIN_KERNEL="3.6.3"
> -
> -#
> -# Debug facilities
> -#
> -# CT_DEBUG_dmalloc is not set
> -# CT_DEBUG_duma is not set
> -# CT_DEBUG_gdb is not set
> -# CT_DEBUG_ltrace is not set
> -# CT_DEBUG_strace is not set
> -
> -#
> -# Companion libraries
> -#
> -CT_COMPLIBS_NEEDED=y
> -CT_GMP_NEEDED=y
> -CT_MPFR_NEEDED=y
> -CT_PPL_NEEDED=y
> -CT_CLOOG_NEEDED=y
> -CT_MPC_NEEDED=y
> -CT_COMPLIBS=y
> -CT_GMP=y
> -CT_MPFR=y
> -CT_PPL=y
> -CT_CLOOG=y
> -CT_MPC=y
> -# CT_GMP_V_5_0_2 is not set
> -# CT_GMP_V_5_0_1 is not set
> -CT_GMP_V_4_3_2=y
> -# CT_GMP_V_4_3_1 is not set
> -# CT_GMP_V_4_3_0 is not set
> -CT_GMP_VERSION="4.3.2"
> -# CT_MPFR_V_3_1_0 is not set
> -# CT_MPFR_V_3_0_1 is not set
> -# CT_MPFR_V_3_0_0 is not set
> -CT_MPFR_V_2_4_2=y
> -# CT_MPFR_V_2_4_1 is not set
> -# CT_MPFR_V_2_4_0 is not set
> -CT_MPFR_VERSION="2.4.2"
> -CT_PPL_V_0_11_2=y
> -# CT_PPL_V_0_11_1 is not set
> -# CT_PPL_V_0_11 is not set
> -# CT_PPL_V_0_10_2 is not set
> -CT_PPL_VERSION="0.11.2"
> -CT_PPL_0_11=y
> -CT_PPL_NEEDS_LIBPWL=y
> -CT_CLOOG_V_0_15_11=y
> -# CT_CLOOG_V_0_15_10 is not set
> -# CT_CLOOG_V_0_15_9 is not set
> -# CT_CLOOG_V_0_15_8 is not set
> -# CT_CLOOG_V_0_15_7 is not set
> -# CT_CLOOG_V_0_15_6 is not set
> -CT_CLOOG_VERSION="0.15.11"
> -CT_CLOOG_0_15_1x=y
> -CT_CLOOG_NEEDS_AUTORECONF=y
> -CT_MPC_V_0_9=y
> -# CT_MPC_V_0_8_2 is not set
> -# CT_MPC_V_0_8_1 is not set
> -# CT_MPC_V_0_7 is not set
> -CT_MPC_VERSION="0.9"
> -
> -#
> -# Companion libraries common options
> -#
> -# CT_COMPLIBS_CHECK is not set
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
> deleted file mode 100644
> index 5b4bbba..0000000
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
> +++ /dev/null
> @@ -1,491 +0,0 @@
> -#
> -# Automatically generated make config: don't edit
> -# crosstool-NG 1.17.0 Configuration
> -# Sat Dec  8 12:56:02 2012
> -#
> -CT_CONFIGURE_has_xz=y
> -CT_CONFIGURE_has_svn=y
> -CT_MODULES=y
> -
> -#
> -# Paths and misc options
> -#
> -
> -#
> -# crosstool-NG behavior
> -#
> -# CT_OBSOLETE is not set
> -# CT_EXPERIMENTAL is not set
> -# CT_DEBUG_CT is not set
> -
> -#
> -# Paths
> -#
> -CT_LOCAL_TARBALLS_DIR=""
> -CT_WORK_DIR="${CT_TOP_DIR}/.build"
> -CT_PREFIX_DIR=""
> -CT_INSTALL_DIR="${CT_PREFIX_DIR}"
> -CT_RM_RF_PREFIX_DIR=y
> -CT_REMOVE_DOCS=y
> -# CT_INSTALL_DIR_RO is not set
> -# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
> -
> -#
> -# Downloading
> -#
> -# CT_FORBID_DOWNLOAD is not set
> -# CT_FORCE_DOWNLOAD is not set
> -CT_CONNECT_TIMEOUT=10
> -# CT_ONLY_DOWNLOAD is not set
> -# CT_USE_MIRROR is not set
> -
> -#
> -# Extracting
> -#
> -# CT_FORCE_EXTRACT is not set
> -CT_OVERIDE_CONFIG_GUESS_SUB=y
> -# CT_ONLY_EXTRACT is not set
> -CT_PATCH_BUNDLED=y
> -# CT_PATCH_LOCAL is not set
> -# CT_PATCH_BUNDLED_LOCAL is not set
> -# CT_PATCH_LOCAL_BUNDLED is not set
> -# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
> -# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
> -# CT_PATCH_NONE is not set
> -CT_PATCH_ORDER="bundled"
> -
> -#
> -# Build behavior
> -#
> -CT_PARALLEL_JOBS=0
> -CT_LOAD=0
> -CT_USE_PIPES=y
> -CT_EXTRA_FLAGS_FOR_HOST=""
> -# CT_CONFIG_SHELL_SH is not set
> -# CT_CONFIG_SHELL_ASH is not set
> -CT_CONFIG_SHELL_BASH=y
> -# CT_CONFIG_SHELL_CUSTOM is not set
> -CT_CONFIG_SHELL="${bash}"
> -
> -#
> -# Logging
> -#
> -# CT_LOG_ERROR is not set
> -# CT_LOG_WARN is not set
> -# CT_LOG_INFO is not set
> -# CT_LOG_EXTRA is not set
> -CT_LOG_ALL=y
> -# CT_LOG_DEBUG is not set
> -CT_LOG_LEVEL_MAX="ALL"
> -# CT_LOG_SEE_TOOLS_WARN is not set
> -CT_LOG_TO_FILE=y
> -CT_LOG_FILE_COMPRESS=y
> -
> -#
> -# Target options
> -#
> -CT_ARCH="arm"
> -CT_ARCH_SUPPORTS_BOTH_MMU=y
> -CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
> -CT_ARCH_SUPPORTS_32=y
> -CT_ARCH_SUPPORTS_WITH_ARCH=y
> -CT_ARCH_SUPPORTS_WITH_CPU=y
> -CT_ARCH_SUPPORTS_WITH_TUNE=y
> -CT_ARCH_SUPPORTS_WITH_FLOAT=y
> -CT_ARCH_SUPPORTS_WITH_FPU=y
> -CT_ARCH_SUPPORTS_SOFTFP=y
> -CT_ARCH_DEFAULT_HAS_MMU=y
> -CT_ARCH_DEFAULT_LE=y
> -CT_ARCH_DEFAULT_32=y
> -CT_ARCH_ARCH=""
> -CT_ARCH_CPU=""
> -CT_ARCH_TUNE=""
> -CT_ARCH_FPU=""
> -# CT_ARCH_BE is not set
> -CT_ARCH_LE=y
> -CT_ARCH_32=y
> -CT_ARCH_BITNESS=32
> -# CT_ARCH_FLOAT_HW is not set
> -CT_ARCH_FLOAT_SW=y
> -CT_TARGET_CFLAGS=""
> -CT_TARGET_LDFLAGS=""
> -# CT_ARCH_alpha is not set
> -CT_ARCH_arm=y
> -# CT_ARCH_avr32 is not set
> -# CT_ARCH_blackfin is not set
> -# CT_ARCH_mips is not set
> -# CT_ARCH_powerpc is not set
> -# CT_ARCH_sh is not set
> -# CT_ARCH_sparc is not set
> -# CT_ARCH_x86 is not set
> -CT_ARCH_alpha_AVAILABLE=y
> -CT_ARCH_arm_AVAILABLE=y
> -CT_ARCH_avr32_AVAILABLE=y
> -CT_ARCH_blackfin_AVAILABLE=y
> -CT_ARCH_m68k_AVAILABLE=y
> -CT_ARCH_microblaze_AVAILABLE=y
> -CT_ARCH_mips_AVAILABLE=y
> -CT_ARCH_powerpc_AVAILABLE=y
> -CT_ARCH_s390_AVAILABLE=y
> -CT_ARCH_sh_AVAILABLE=y
> -CT_ARCH_sparc_AVAILABLE=y
> -CT_ARCH_x86_AVAILABLE=y
> -
> -#
> -# Generic target options
> -#
> -CT_ARCH_USE_MMU=y
> -CT_ARCH_ENDIAN="little"
> -
> -#
> -# Target optimisations
> -#
> -# CT_ARCH_FLOAT_SOFTFP is not set
> -CT_ARCH_FLOAT="soft"
> -
> -#
> -# arm other options
> -#
> -CT_ARCH_ARM_MODE="arm"
> -CT_ARCH_ARM_MODE_ARM=y
> -CT_ARCH_ARM_EABI=y
> -
> -#
> -# Toolchain options
> -#
> -
> -#
> -# General toolchain options
> -#
> -CT_FORCE_SYSROOT=y
> -CT_USE_SYSROOT=y
> -CT_SYSROOT_NAME="sysroot"
> -CT_SYSROOT_DIR_PREFIX=""
> -CT_WANTS_STATIC_LINK=y
> -CT_TOOLCHAIN_PKGVERSION=""
> -CT_TOOLCHAIN_BUGURL=""
> -
> -#
> -# Tuple completion and aliasing
> -#
> -CT_TARGET_VENDOR="unknown"
> -CT_TARGET_ALIAS_SED_EXPR=""
> -CT_TARGET_ALIAS=""
> -
> -#
> -# Toolchain type
> -#
> -CT_CROSS=y
> -CT_TOOLCHAIN_TYPE="cross"
> -
> -#
> -# Build system
> -#
> -CT_BUILD=""
> -CT_BUILD_PREFIX=""
> -CT_BUILD_SUFFIX=""
> -
> -#
> -# Misc options
> -#
> -# CT_TOOLCHAIN_ENABLE_NLS is not set
> -
> -#
> -# Operating System
> -#
> -CT_KERNEL_SUPPORTS_SHARED_LIBS=y
> -CT_KERNEL="linux"
> -CT_KERNEL_VERSION="3.6.3"
> -# CT_KERNEL_bare_metal is not set
> -CT_KERNEL_linux=y
> -CT_KERNEL_bare_metal_AVAILABLE=y
> -CT_KERNEL_linux_AVAILABLE=y
> -CT_KERNEL_V_3_6_3=y
> -# CT_KERNEL_V_3_6_2 is not set
> -# CT_KERNEL_V_3_6_1 is not set
> -# CT_KERNEL_V_3_6 is not set
> -# CT_KERNEL_V_3_5_7 is not set
> -# CT_KERNEL_V_3_4_15 is not set
> -# CT_KERNEL_V_3_3_8 is not set
> -# CT_KERNEL_V_3_2_32 is not set
> -# CT_KERNEL_V_3_1_10 is not set
> -# CT_KERNEL_V_3_0_48 is not set
> -# CT_KERNEL_V_2_6_39_4 is not set
> -# CT_KERNEL_V_2_6_38_8 is not set
> -# CT_KERNEL_V_2_6_37_6 is not set
> -# CT_KERNEL_V_2_6_36_4 is not set
> -# CT_KERNEL_V_2_6_33_20 is not set
> -# CT_KERNEL_V_2_6_32_60 is not set
> -# CT_KERNEL_V_2_6_31_14 is not set
> -# CT_KERNEL_V_2_6_27_62 is not set
> -# CT_KERNEL_LINUX_CUSTOM is not set
> -CT_KERNEL_mingw32_AVAILABLE=y
> -
> -#
> -# Common kernel options
> -#
> -CT_SHARED_LIBS=y
> -
> -#
> -# linux other options
> -#
> -CT_KERNEL_LINUX_VERBOSITY_0=y
> -# CT_KERNEL_LINUX_VERBOSITY_1 is not set
> -# CT_KERNEL_LINUX_VERBOSITY_2 is not set
> -CT_KERNEL_LINUX_VERBOSE_LEVEL=0
> -CT_KERNEL_LINUX_INSTALL_CHECK=y
> -
> -#
> -# Binary utilities
> -#
> -CT_ARCH_BINFMT_ELF=y
> -
> -#
> -# GNU binutils
> -#
> -# CT_BINUTILS_V_2_21_1a is not set
> -CT_BINUTILS_V_2_20_1a=y
> -# CT_BINUTILS_V_2_19_1a is not set
> -# CT_BINUTILS_V_2_18a is not set
> -CT_BINUTILS_VERSION="2.20.1a"
> -CT_BINUTILS_2_20_or_later=y
> -CT_BINUTILS_2_19_or_later=y
> -CT_BINUTILS_2_18_or_later=y
> -CT_BINUTILS_HAS_HASH_STYLE=y
> -CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
> -CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
> -CT_BINUTILS_FORCE_LD_BFD=y
> -CT_BINUTILS_LINKER_LD=y
> -CT_BINUTILS_LINKERS_LIST="ld"
> -CT_BINUTILS_LINKER_DEFAULT="bfd"
> -CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
> -# CT_BINUTILS_FOR_TARGET is not set
> -
> -#
> -# C compiler
> -#
> -CT_CC="gcc"
> -CT_CC_VERSION="4.6.3"
> -CT_CC_gcc=y
> -# CT_CC_V_4_7_2 is not set
> -CT_CC_V_4_6_3=y
> -# CT_CC_V_4_6_2 is not set
> -# CT_CC_V_4_6_1 is not set
> -# CT_CC_V_4_6_0 is not set
> -# CT_CC_V_4_5_3 is not set
> -# CT_CC_V_4_5_2 is not set
> -# CT_CC_V_4_5_1 is not set
> -# CT_CC_V_4_5_0 is not set
> -# CT_CC_V_4_4_7 is not set
> -# CT_CC_V_4_4_6 is not set
> -# CT_CC_V_4_4_5 is not set
> -# CT_CC_V_4_4_4 is not set
> -# CT_CC_V_4_4_3 is not set
> -# CT_CC_V_4_4_2 is not set
> -# CT_CC_V_4_4_1 is not set
> -# CT_CC_V_4_4_0 is not set
> -# CT_CC_V_4_3_6 is not set
> -# CT_CC_V_4_3_5 is not set
> -# CT_CC_V_4_3_4 is not set
> -# CT_CC_V_4_3_3 is not set
> -# CT_CC_V_4_3_2 is not set
> -# CT_CC_V_4_3_1 is not set
> -# CT_CC_V_4_2_4 is not set
> -# CT_CC_V_4_2_2 is not set
> -CT_CC_GCC_4_2_or_later=y
> -CT_CC_GCC_4_3_or_later=y
> -CT_CC_GCC_4_4_or_later=y
> -CT_CC_GCC_4_5_or_later=y
> -CT_CC_GCC_4_6=y
> -CT_CC_GCC_4_6_or_later=y
> -CT_CC_GCC_HAS_GRAPHITE=y
> -CT_CC_GCC_HAS_LTO=y
> -CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
> -CT_CC_GCC_HAS_BUILD_ID=y
> -CT_CC_GCC_USE_GMP_MPFR=y
> -CT_CC_GCC_USE_PPL_CLOOG=y
> -CT_CC_GCC_USE_MPC=y
> -CT_CC_GCC_HAS_LIBQUADMATH=y
> -# CT_CC_LANG_FORTRAN is not set
> -CT_CC_SUPPORT_CXX=y
> -CT_CC_SUPPORT_FORTRAN=y
> -CT_CC_SUPPORT_JAVA=y
> -CT_CC_SUPPORT_ADA=y
> -CT_CC_SUPPORT_OBJC=y
> -CT_CC_SUPPORT_OBJCXX=y
> -
> -#
> -# Additional supported languages:
> -#
> -CT_CC_LANG_CXX=y
> -# CT_CC_LANG_JAVA is not set
> -
> -#
> -# gcc other options
> -#
> -CT_CC_ENABLE_CXX_FLAGS=""
> -CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
> -CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
> -CT_CC_STATIC_LIBSTDCXX=y
> -
> -#
> -# Optimisation features
> -#
> -CT_CC_GCC_USE_GRAPHITE=y
> -CT_CC_GCC_USE_LTO=y
> -
> -#
> -# Settings for libraries running on target
> -#
> -CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
> -# CT_CC_GCC_LIBMUDFLAP is not set
> -# CT_CC_GCC_LIBGOMP is not set
> -# CT_CC_GCC_LIBSSP is not set
> -# CT_CC_GCC_LIBQUADMATH is not set
> -
> -#
> -# Misc. obscure options.
> -#
> -CT_CC_CXA_ATEXIT=y
> -# CT_CC_GCC_DISABLE_PCH is not set
> -CT_CC_GCC_SJLJ_EXCEPTIONS=m
> -CT_CC_GCC_LDBL_128=m
> -# CT_CC_GCC_BUILD_ID is not set
> -
> -#
> -# C-library
> -#
> -CT_LIBC="glibc"
> -CT_LIBC_VERSION="2.14.1"
> -# CT_LIBC_eglibc is not set
> -CT_LIBC_glibc=y
> -# CT_LIBC_uClibc is not set
> -CT_LIBC_eglibc_AVAILABLE=y
> -CT_LIBC_glibc_AVAILABLE=y
> -CT_LIBC_GLIBC_V_2_14_1
> -# CT_LIBC_GLIBC_V_2_14 is not set
> -# CT_LIBC_GLIBC_V_2_13 is not set
> -# CT_LIBC_GLIBC_V_2_12_2 is not set
> -# CT_LIBC_GLIBC_V_2_12_1 is not set
> -# CT_LIBC_GLIBC_V_2_11_1 is not set
> -# CT_LIBC_GLIBC_V_2_11 is not set
> -# CT_LIBC_GLIBC_V_2_10_1 is not set
> -# CT_LIBC_GLIBC_V_2_9 is not set
> -# CT_LIBC_GLIBC_V_2_8 is not set
> -CT_LIBC_mingw_AVAILABLE=y
> -CT_LIBC_newlib_AVAILABLE=y
> -CT_LIBC_none_AVAILABLE=y
> -CT_LIBC_uClibc_AVAILABLE=y
> -CT_LIBC_SUPPORT_THREADS_ANY=y
> -CT_LIBC_SUPPORT_NPTL=y
> -CT_THREADS="nptl"
> -
> -#
> -# Common C library options
> -#
> -CT_THREADS_NPTL=y
> -CT_LIBC_XLDD=y
> -CT_LIBC_GLIBC_MAY_FORCE_PORTS=y
> -CT_LIBC_glibc_familly=y
> -CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
> -CT_LIBC_GLIBC_CONFIGPARMS=""
> -CT_LIBC_GLIBC_EXTRA_CFLAGS=""
> -CT_LIBC_EXTRA_CC_ARGS=""
> -# CT_LIBC_DISABLE_VERSIONING is not set
> -CT_LIBC_OLDEST_ABI=""
> -CT_LIBC_GLIBC_FORCE_UNWIND=y
> -CT_LIBC_GLIBC_USE_PORTS=y
> -CT_LIBC_ADDONS_LIST=""
> -# CT_LIBC_LOCALES is not set
> -# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
> -CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
> -# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
> -CT_LIBC_GLIBC_MIN_KERNEL="3.6.3"
> -
> -#
> -# glibc other options
> -#
> -
> -#
> -# WARNING !!!
> -#
> -
> -#
> -#   For glibc >= 2.8, it can happen that the tarballs
> -#
> -
> -#
> -#   for the addons are not available for download.
> -#
> -
> -#
> -#   If that happens, bad luck... Try a previous version
> -#
> -
> -#
> -#   or try again later... :-(
> -#
> -
> -#
> -# Debug facilities
> -#
> -# CT_DEBUG_dmalloc is not set
> -# CT_DEBUG_duma is not set
> -# CT_DEBUG_gdb is not set
> -# CT_DEBUG_ltrace is not set
> -# CT_DEBUG_strace is not set
> -
> -#
> -# Companion libraries
> -#
> -CT_COMPLIBS_NEEDED=y
> -CT_GMP_NEEDED=y
> -CT_MPFR_NEEDED=y
> -CT_PPL_NEEDED=y
> -CT_CLOOG_NEEDED=y
> -CT_MPC_NEEDED=y
> -CT_COMPLIBS=y
> -CT_GMP=y
> -CT_MPFR=y
> -CT_PPL=y
> -CT_CLOOG=y
> -CT_MPC=y
> -# CT_GMP_V_5_0_2 is not set
> -# CT_GMP_V_5_0_1 is not set
> -CT_GMP_V_4_3_2=y
> -# CT_GMP_V_4_3_1 is not set
> -# CT_GMP_V_4_3_0 is not set
> -CT_GMP_VERSION="4.3.2"
> -# CT_MPFR_V_3_1_0 is not set
> -# CT_MPFR_V_3_0_1 is not set
> -# CT_MPFR_V_3_0_0 is not set
> -CT_MPFR_V_2_4_2=y
> -# CT_MPFR_V_2_4_1 is not set
> -# CT_MPFR_V_2_4_0 is not set
> -CT_MPFR_VERSION="2.4.2"
> -CT_PPL_V_0_11_2=y
> -# CT_PPL_V_0_11_1 is not set
> -# CT_PPL_V_0_11 is not set
> -# CT_PPL_V_0_10_2 is not set
> -CT_PPL_VERSION="0.11.2"
> -CT_PPL_0_11=y
> -CT_PPL_NEEDS_LIBPWL=y
> -CT_CLOOG_V_0_15_11=y
> -# CT_CLOOG_V_0_15_10 is not set
> -# CT_CLOOG_V_0_15_9 is not set
> -# CT_CLOOG_V_0_15_8 is not set
> -# CT_CLOOG_V_0_15_7 is not set
> -# CT_CLOOG_V_0_15_6 is not set
> -CT_CLOOG_VERSION="0.15.11"
> -CT_CLOOG_0_15_1x=y
> -CT_CLOOG_NEEDS_AUTORECONF=y
> -CT_MPC_V_0_9=y
> -# CT_MPC_V_0_8_2 is not set
> -# CT_MPC_V_0_8_1 is not set
> -# CT_MPC_V_0_7 is not set
> -CT_MPC_VERSION="0.9"
> -
> -#
> -# Companion libraries common options
> -#
> -# CT_COMPLIBS_CHECK is not set
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
> deleted file mode 100644
> index 4f21263..0000000
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
> +++ /dev/null
> @@ -1,473 +0,0 @@
> -#
> -# Automatically generated make config: don't edit
> -# crosstool-NG 1.17.0 Configuration
> -# Sat Dec  8 12:50:22 2012
> -#
> -CT_CONFIGURE_has_xz=y
> -CT_CONFIGURE_has_svn=y
> -CT_MODULES=y
> -
> -#
> -# Paths and misc options
> -#
> -
> -#
> -# crosstool-NG behavior
> -#
> -# CT_OBSOLETE is not set
> -# CT_EXPERIMENTAL is not set
> -# CT_DEBUG_CT is not set
> -
> -#
> -# Paths
> -#
> -CT_LOCAL_TARBALLS_DIR=""
> -CT_WORK_DIR="${CT_TOP_DIR}/.build"
> -CT_PREFIX_DIR=""
> -CT_INSTALL_DIR="${CT_PREFIX_DIR}"
> -CT_RM_RF_PREFIX_DIR=y
> -CT_REMOVE_DOCS=y
> -# CT_INSTALL_DIR_RO is not set
> -# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
> -
> -#
> -# Downloading
> -#
> -# CT_FORBID_DOWNLOAD is not set
> -# CT_FORCE_DOWNLOAD is not set
> -CT_CONNECT_TIMEOUT=10
> -# CT_ONLY_DOWNLOAD is not set
> -# CT_USE_MIRROR is not set
> -
> -#
> -# Extracting
> -#
> -# CT_FORCE_EXTRACT is not set
> -CT_OVERIDE_CONFIG_GUESS_SUB=y
> -# CT_ONLY_EXTRACT is not set
> -CT_PATCH_BUNDLED=y
> -# CT_PATCH_LOCAL is not set
> -# CT_PATCH_BUNDLED_LOCAL is not set
> -# CT_PATCH_LOCAL_BUNDLED is not set
> -# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
> -# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
> -# CT_PATCH_NONE is not set
> -CT_PATCH_ORDER="bundled"
> -
> -#
> -# Build behavior
> -#
> -CT_PARALLEL_JOBS=0
> -CT_LOAD=0
> -CT_USE_PIPES=y
> -CT_EXTRA_FLAGS_FOR_HOST=""
> -# CT_CONFIG_SHELL_SH is not set
> -# CT_CONFIG_SHELL_ASH is not set
> -CT_CONFIG_SHELL_BASH=y
> -# CT_CONFIG_SHELL_CUSTOM is not set
> -CT_CONFIG_SHELL="${bash}"
> -
> -#
> -# Logging
> -#
> -# CT_LOG_ERROR is not set
> -# CT_LOG_WARN is not set
> -# CT_LOG_INFO is not set
> -# CT_LOG_EXTRA is not set
> -CT_LOG_ALL=y
> -# CT_LOG_DEBUG is not set
> -CT_LOG_LEVEL_MAX="ALL"
> -# CT_LOG_SEE_TOOLS_WARN is not set
> -CT_LOG_TO_FILE=y
> -CT_LOG_FILE_COMPRESS=y
> -
> -#
> -# Target options
> -#
> -CT_ARCH="arm"
> -CT_ARCH_SUPPORTS_BOTH_MMU=y
> -CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
> -CT_ARCH_SUPPORTS_32=y
> -CT_ARCH_SUPPORTS_WITH_ARCH=y
> -CT_ARCH_SUPPORTS_WITH_CPU=y
> -CT_ARCH_SUPPORTS_WITH_TUNE=y
> -CT_ARCH_SUPPORTS_WITH_FLOAT=y
> -CT_ARCH_SUPPORTS_WITH_FPU=y
> -CT_ARCH_SUPPORTS_SOFTFP=y
> -CT_ARCH_DEFAULT_HAS_MMU=y
> -CT_ARCH_DEFAULT_LE=y
> -CT_ARCH_DEFAULT_32=y
> -CT_ARCH_ARCH=""
> -CT_ARCH_CPU=""
> -CT_ARCH_TUNE=""
> -CT_ARCH_FPU=""
> -# CT_ARCH_BE is not set
> -CT_ARCH_LE=y
> -CT_ARCH_32=y
> -CT_ARCH_BITNESS=32
> -# CT_ARCH_FLOAT_HW is not set
> -CT_ARCH_FLOAT_SW=y
> -CT_TARGET_CFLAGS=""
> -CT_TARGET_LDFLAGS=""
> -# CT_ARCH_alpha is not set
> -CT_ARCH_arm=y
> -# CT_ARCH_avr32 is not set
> -# CT_ARCH_blackfin is not set
> -# CT_ARCH_mips is not set
> -# CT_ARCH_powerpc is not set
> -# CT_ARCH_sh is not set
> -# CT_ARCH_sparc is not set
> -# CT_ARCH_x86 is not set
> -CT_ARCH_alpha_AVAILABLE=y
> -CT_ARCH_arm_AVAILABLE=y
> -CT_ARCH_avr32_AVAILABLE=y
> -CT_ARCH_blackfin_AVAILABLE=y
> -CT_ARCH_m68k_AVAILABLE=y
> -CT_ARCH_microblaze_AVAILABLE=y
> -CT_ARCH_mips_AVAILABLE=y
> -CT_ARCH_powerpc_AVAILABLE=y
> -CT_ARCH_s390_AVAILABLE=y
> -CT_ARCH_sh_AVAILABLE=y
> -CT_ARCH_sparc_AVAILABLE=y
> -CT_ARCH_x86_AVAILABLE=y
> -
> -#
> -# Generic target options
> -#
> -CT_ARCH_USE_MMU=y
> -CT_ARCH_ENDIAN="little"
> -
> -#
> -# Target optimisations
> -#
> -# CT_ARCH_FLOAT_SOFTFP is not set
> -CT_ARCH_FLOAT="soft"
> -
> -#
> -# arm other options
> -#
> -CT_ARCH_ARM_MODE="arm"
> -CT_ARCH_ARM_MODE_ARM=y
> -CT_ARCH_ARM_EABI=y
> -
> -#
> -# Toolchain options
> -#
> -
> -#
> -# General toolchain options
> -#
> -CT_FORCE_SYSROOT=y
> -CT_USE_SYSROOT=y
> -CT_SYSROOT_NAME="sysroot"
> -CT_SYSROOT_DIR_PREFIX=""
> -CT_WANTS_STATIC_LINK=y
> -CT_TOOLCHAIN_PKGVERSION=""
> -CT_TOOLCHAIN_BUGURL=""
> -
> -#
> -# Tuple completion and aliasing
> -#
> -CT_TARGET_VENDOR="unknown"
> -CT_TARGET_ALIAS_SED_EXPR=""
> -CT_TARGET_ALIAS=""
> -
> -#
> -# Toolchain type
> -#
> -CT_CROSS=y
> -CT_TOOLCHAIN_TYPE="cross"
> -
> -#
> -# Build system
> -#
> -CT_BUILD=""
> -CT_BUILD_PREFIX=""
> -CT_BUILD_SUFFIX=""
> -
> -#
> -# Misc options
> -#
> -# CT_TOOLCHAIN_ENABLE_NLS is not set
> -
> -#
> -# Operating System
> -#
> -CT_KERNEL_SUPPORTS_SHARED_LIBS=y
> -CT_KERNEL="linux"
> -CT_KERNEL_VERSION="3.6.3"
> -# CT_KERNEL_bare_metal is not set
> -CT_KERNEL_linux=y
> -CT_KERNEL_bare_metal_AVAILABLE=y
> -CT_KERNEL_linux_AVAILABLE=y
> -CT_KERNEL_V_3_6_3=y
> -# CT_KERNEL_V_3_6_2 is not set
> -# CT_KERNEL_V_3_6_1 is not set
> -# CT_KERNEL_V_3_6 is not set
> -# CT_KERNEL_V_3_5_7 is not set
> -# CT_KERNEL_V_3_4_15 is not set
> -# CT_KERNEL_V_3_3_8 is not set
> -# CT_KERNEL_V_3_2_32 is not set
> -# CT_KERNEL_V_3_1_10 is not set
> -# CT_KERNEL_V_3_0_48 is not set
> -# CT_KERNEL_V_2_6_39_4 is not set
> -# CT_KERNEL_V_2_6_38_8 is not set
> -# CT_KERNEL_V_2_6_37_6 is not set
> -# CT_KERNEL_V_2_6_36_4 is not set
> -# CT_KERNEL_V_2_6_33_20 is not set
> -# CT_KERNEL_V_2_6_32_60 is not set
> -# CT_KERNEL_V_2_6_31_14 is not set
> -# CT_KERNEL_V_2_6_27_62 is not set
> -# CT_KERNEL_LINUX_CUSTOM is not set
> -CT_KERNEL_mingw32_AVAILABLE=y
> -
> -#
> -# Common kernel options
> -#
> -CT_SHARED_LIBS=y
> -
> -#
> -# linux other options
> -#
> -CT_KERNEL_LINUX_VERBOSITY_0=y
> -# CT_KERNEL_LINUX_VERBOSITY_1 is not set
> -# CT_KERNEL_LINUX_VERBOSITY_2 is not set
> -CT_KERNEL_LINUX_VERBOSE_LEVEL=0
> -CT_KERNEL_LINUX_INSTALL_CHECK=y
> -
> -#
> -# Binary utilities
> -#
> -CT_ARCH_BINFMT_ELF=y
> -
> -#
> -# GNU binutils
> -#
> -# CT_BINUTILS_V_2_21_1a is not set
> -CT_BINUTILS_V_2_20_1a=y
> -# CT_BINUTILS_V_2_19_1a is not set
> -# CT_BINUTILS_V_2_18a is not set
> -CT_BINUTILS_VERSION="2.20.1a"
> -CT_BINUTILS_2_20_or_later=y
> -CT_BINUTILS_2_19_or_later=y
> -CT_BINUTILS_2_18_or_later=y
> -CT_BINUTILS_HAS_HASH_STYLE=y
> -CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
> -CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
> -CT_BINUTILS_LINKER_LD=y
> -CT_BINUTILS_LINKERS_LIST="ld"
> -CT_BINUTILS_LINKER_DEFAULT="bfd"
> -CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
> -# CT_BINUTILS_FOR_TARGET is not set
> -
> -#
> -# C compiler
> -#
> -CT_CC="gcc"
> -CT_CC_VERSION="4.6.3"
> -CT_CC_gcc=y
> -# CT_CC_V_4_7_2 is not set
> -CT_CC_V_4_6_3=y
> -# CT_CC_V_4_6_2 is not set
> -# CT_CC_V_4_6_1 is not set
> -# CT_CC_V_4_6_0 is not set
> -# CT_CC_V_4_5_3 is not set
> -# CT_CC_V_4_5_2 is not set
> -# CT_CC_V_4_5_1 is not set
> -# CT_CC_V_4_5_0 is not set
> -# CT_CC_V_4_4_7 is not set
> -# CT_CC_V_4_4_6 is not set
> -# CT_CC_V_4_4_5 is not set
> -# CT_CC_V_4_4_4 is not set
> -# CT_CC_V_4_4_3 is not set
> -# CT_CC_V_4_4_2 is not set
> -# CT_CC_V_4_4_1 is not set
> -# CT_CC_V_4_4_0 is not set
> -# CT_CC_V_4_3_6 is not set
> -# CT_CC_V_4_3_5 is not set
> -# CT_CC_V_4_3_4 is not set
> -# CT_CC_V_4_3_3 is not set
> -# CT_CC_V_4_3_2 is not set
> -# CT_CC_V_4_3_1 is not set
> -# CT_CC_V_4_2_4 is not set
> -# CT_CC_V_4_2_2 is not set
> -CT_CC_GCC_4_2_or_later=y
> -CT_CC_GCC_4_3_or_later=y
> -CT_CC_GCC_4_4_or_later=y
> -CT_CC_GCC_4_5_or_later=y
> -CT_CC_GCC_4_6=y
> -CT_CC_GCC_4_6_or_later=y
> -CT_CC_GCC_HAS_GRAPHITE=y
> -CT_CC_GCC_HAS_LTO=y
> -CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
> -CT_CC_GCC_HAS_BUILD_ID=y
> -CT_CC_GCC_USE_GMP_MPFR=y
> -CT_CC_GCC_USE_PPL_CLOOG=y
> -CT_CC_GCC_USE_MPC=y
> -CT_CC_GCC_HAS_LIBQUADMATH=y
> -# CT_CC_LANG_FORTRAN is not set
> -CT_CC_SUPPORT_CXX=y
> -CT_CC_SUPPORT_FORTRAN=y
> -CT_CC_SUPPORT_JAVA=y
> -CT_CC_SUPPORT_ADA=y
> -CT_CC_SUPPORT_OBJC=y
> -CT_CC_SUPPORT_OBJCXX=y
> -
> -#
> -# Additional supported languages:
> -#
> -CT_CC_LANG_CXX=y
> -# CT_CC_LANG_JAVA is not set
> -
> -#
> -# gcc other options
> -#
> -CT_CC_ENABLE_CXX_FLAGS=""
> -CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
> -CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
> -CT_CC_STATIC_LIBSTDCXX=y
> -
> -#
> -# Optimisation features
> -#
> -CT_CC_GCC_USE_GRAPHITE=y
> -CT_CC_GCC_USE_LTO=y
> -
> -#
> -# Settings for libraries running on target
> -#
> -CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
> -# CT_CC_GCC_LIBMUDFLAP is not set
> -# CT_CC_GCC_LIBGOMP is not set
> -# CT_CC_GCC_LIBSSP is not set
> -# CT_CC_GCC_LIBQUADMATH is not set
> -
> -#
> -# Misc. obscure options.
> -#
> -CT_CC_CXA_ATEXIT=y
> -# CT_CC_GCC_DISABLE_PCH is not set
> -CT_CC_GCC_SJLJ_EXCEPTIONS=m
> -CT_CC_GCC_LDBL_128=m
> -# CT_CC_GCC_BUILD_ID is not set
> -
> -#
> -# C-library
> -#
> -CT_LIBC="uClibc"
> -CT_LIBC_VERSION="0.9.33.2"
> -# CT_LIBC_eglibc is not set
> -# CT_LIBC_glibc is not set
> -CT_LIBC_uClibc=y
> -CT_LIBC_eglibc_AVAILABLE=y
> -CT_LIBC_glibc_AVAILABLE=y
> -CT_LIBC_mingw_AVAILABLE=y
> -CT_LIBC_newlib_AVAILABLE=y
> -CT_LIBC_none_AVAILABLE=y
> -CT_LIBC_uClibc_AVAILABLE=y
> -CT_LIBC_UCLIBC_V_0_9_33_2=y
> -# CT_LIBC_UCLIBC_V_0_9_33_1 is not set
> -# CT_LIBC_UCLIBC_V_0_9_33 is not set
> -# CT_LIBC_UCLIBC_V_0_9_32_1 is not set
> -# CT_LIBC_UCLIBC_V_0_9_32 is not set
> -# CT_LIBC_UCLIBC_V_0_9_30_3 is not set
> -# CT_LIBC_UCLIBC_V_0_9_30_2 is not set
> -# CT_LIBC_UCLIBC_V_0_9_30_1 is not set
> -# CT_LIBC_UCLIBC_V_0_9_30 is not set
> -CT_LIBC_UCLIBC_0_9_32_or_later=y
> -CT_LIBC_UCLIBC_0_9_30_or_later=y
> -CT_LIBC_UCLIBC_PARALLEL=y
> -CT_LIBC_UCLIBC_VERBOSITY_0=y
> -# CT_LIBC_UCLIBC_VERBOSITY_1 is not set
> -# CT_LIBC_UCLIBC_VERBOSITY_2 is not set
> -CT_LIBC_UCLIBC_VERBOSITY=""
> -CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
> -# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
> -# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
> -# CT_LIBC_UCLIBC_DEBUG_LEVEL_3 is not set
> -CT_LIBC_UCLIBC_DEBUG_LEVEL=0
> -CT_LIBC_UCLIBC_CONFIG_FILE=""
> -CT_LIBC_SUPPORT_THREADS_ANY=y
> -CT_LIBC_SUPPORT_NPTL=y
> -CT_LIBC_SUPPORT_LINUXTHREADS=y
> -CT_LIBC_SUPPORT_THREADS_NONE=y
> -CT_THREADS="nptl"
> -
> -#
> -# Common C library options
> -#
> -CT_THREADS_NPTL=y
> -# CT_THREADS_LINUXTHREADS is not set
> -# CT_THREADS_NONE is not set
> -CT_LIBC_XLDD=y
> -
> -#
> -# uClibc other options
> -#
> -CT_LIBC_UCLIBC_LNXTHRD=""
> -# CT_LIBC_UCLIBC_LOCALES is not set
> -CT_LIBC_UCLIBC_WCHAR=y
> -
> -#
> -# Debug facilities
> -#
> -# CT_DEBUG_dmalloc is not set
> -# CT_DEBUG_duma is not set
> -# CT_DEBUG_gdb is not set
> -# CT_DEBUG_ltrace is not set
> -# CT_DEBUG_strace is not set
> -
> -#
> -# Companion libraries
> -#
> -CT_COMPLIBS_NEEDED=y
> -CT_GMP_NEEDED=y
> -CT_MPFR_NEEDED=y
> -CT_PPL_NEEDED=y
> -CT_CLOOG_NEEDED=y
> -CT_MPC_NEEDED=y
> -CT_COMPLIBS=y
> -CT_GMP=y
> -CT_MPFR=y
> -CT_PPL=y
> -CT_CLOOG=y
> -CT_MPC=y
> -# CT_GMP_V_5_0_2 is not set
> -# CT_GMP_V_5_0_1 is not set
> -CT_GMP_V_4_3_2=y
> -# CT_GMP_V_4_3_1 is not set
> -# CT_GMP_V_4_3_0 is not set
> -CT_GMP_VERSION="4.3.2"
> -# CT_MPFR_V_3_1_0 is not set
> -# CT_MPFR_V_3_0_1 is not set
> -# CT_MPFR_V_3_0_0 is not set
> -CT_MPFR_V_2_4_2=y
> -# CT_MPFR_V_2_4_1 is not set
> -# CT_MPFR_V_2_4_0 is not set
> -CT_MPFR_VERSION="2.4.2"
> -CT_PPL_V_0_11_2=y
> -# CT_PPL_V_0_11_1 is not set
> -# CT_PPL_V_0_11 is not set
> -# CT_PPL_V_0_10_2 is not set
> -CT_PPL_VERSION="0.11.2"
> -CT_PPL_0_11=y
> -CT_PPL_NEEDS_LIBPWL=y
> -CT_CLOOG_V_0_15_11=y
> -# CT_CLOOG_V_0_15_10 is not set
> -# CT_CLOOG_V_0_15_9 is not set
> -# CT_CLOOG_V_0_15_8 is not set
> -# CT_CLOOG_V_0_15_7 is not set
> -# CT_CLOOG_V_0_15_6 is not set
> -CT_CLOOG_VERSION="0.15.11"
> -CT_CLOOG_0_15_1x=y
> -CT_CLOOG_NEEDS_AUTORECONF=y
> -CT_MPC_V_0_9=y
> -# CT_MPC_V_0_8_2 is not set
> -# CT_MPC_V_0_8_1 is not set
> -# CT_MPC_V_0_7 is not set
> -CT_MPC_VERSION="0.9"
> -
> -#
> -# Companion libraries common options
> -#
> -# CT_COMPLIBS_CHECK is not set
> diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> deleted file mode 100644
> index 19e8761..0000000
> --- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
> +++ /dev/null
> @@ -1,396 +0,0 @@
> -# Makefile fragment for building toolchain with crosstool-NG
> -
> -# As a reference, you can look at toolchain/toolchain-external/ext-tool.mk
> -# for a generic approach to external toolchains.
> -# crosstool-NG as a backend is but a kind of external toolchains,
> -# except that it is not pre-built.
> -
> -#-----------------------------------------------------------------------------
> -# Internal variables
> -
> -CTNG_DIR := $(BUILD_DIR)/build-toolchain
> -
> -CTNG_UCLIBC_CONFIG_FILE := $(TOPDIR)/package/uclibc/uClibc-0.9.33.config
> -CTNG_CONFIG_FILE := $(call qstrip,$(BR2_TOOLCHAIN_CTNG_CONFIG))
> -
> -# Hack! ct-ng is in fact a Makefile script. As such, it accepts all
> -# make options, such as -C, which makes it uneeded to chdir prior
> -# to calling ct-ng.
> -# $1: the set of arguments to pass to ct-ng
> -define ctng
> -PATH=$(HOST_PATH) ct-ng -C $(CTNG_DIR) --no-print-directory $(1)
> -endef
> -
> -#-----------------------------------------------------------------------------
> -toolchain-crosstool-ng: dependencies $(STAMP_DIR)/ct-ng-toolchain-installed
> -
> -# The target used by the infra structure to mean "we just want to
> -# download the toolchain's sources, not build it" For crosstool-NG, we
> -# need it to be configured before we can download; then we have to
> -# override a config option to just do the download
> -toolchain-crosstool-ng-source: $(CTNG_DIR)/.config
> -       $(Q)$(call ctng,build CT_ONLY_DOWNLOAD=y)
> -
> -#-----------------------------------------------------------------------------
> -# Installing the libs to target/ and staging/
> -
> -#--------------
> -# The generic system libraries (in /lib)
> -CTNG_LIBS_LIB := ld*.so libc.so libcrypt.so libdl.so libgcc_s.so libm.so    \
> -                 libnsl.so libpthread.so libresolv.so librt.so libutil.so
> -
> -ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
> -CTNG_LIBS_LIB += libthread_db.so
> -endif
> -
> -#--------------
> -# The libc-specific system libraries (in /lib)
> -# Note: it may be needed to tweak the NSS libs in the glibc and eglibc cases...
> -CTNG_LIBS_uClibc :=
> -CTNG_LIBS_glibc  := libnss_files.so libnss_dns.so
> -CTNG_LIBS_eglibc := $(CTNG_LIBS_glibc)
> -
> -#--------------
> -# All that we need in /lib
> -CTNG_LIBS_LIB += $(CTNG_LIBS_$(call qstrip,$(BR2_TOOLCHAIN_CTNG_LIBC)))
> -
> -#--------------
> -# All that we need in /usr/lib
> -ifneq ($(BR2_INSTALL_LIBSTDCPP),)
> -CTNG_LIBS_USR_LIB += libstdc++.so
> -endif
> -
> -#--------------
> -# Actual copy
> -$(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
> -       $(Q)mkdir -p $(TARGET_DIR)/lib
> -       $(Q)CTNG_TUPLE="$$( $(call ctng,show-tuple 2>&1) )";                \
> -           CTNG_SYSROOT="$(HOST_DIR)/usr/$${CTNG_TUPLE}/sysroot";          \
> -           $(call MESSAGE,"Copying toolchain libraries to target...");     \
> -           for libs in $(CTNG_LIBS_LIB); do                                \
> -               $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/lib); \
> -           done;                                                           \
> -           for libs in $(CTNG_LIBS_USR_LIB); do                            \
> -               $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/usr/lib); \
> -           done;
> -       $(Q)touch $@
> -
> -#-----------------------------------------------------------------------------
> -# Building the toolchain
> -# Note: $(STAMP_DIR)/ct-ng-toolchain-built can have more dependencies,
> -#       depending on the selected C library. Those deps are added later
> -
> -$(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/.config
> -       $(Q)$(call MESSAGE,"Building the crosstool-NG toolchain")
> -       $(Q)$(call ctng,build.$(PARALLEL_JOBS))
> -       $(Q)printf "\n"
> -       $(Q)touch $@
> -
> -#-----------------------------------------------------------------------------
> -# Configuring the toolchain
> -
> -#--------------
> -# We push BR options down to CT-NG, munging the default configuration
> -# with sed expressions.
> -# - first one for non-path options
> -# - second for path options (because they have no prompt, they
> -#                            always get set to the default value)
> -# - third for C library .config (if it has one, eg. uClibc)
> -CTNG_FIX_BUILDROOT_CONFIG_SED       :=
> -CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED :=
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED  :=
> -
> -#--------------
> -# A few generic functions
> -
> -# Munge a config file, given a sed expression
> -# $1: the .config file to munge
> -# $2: the sed expression to apply
> -define ctng-fix-dot-config
> -       $(Q)sed -r -e '$(2)' $(1) >$(1).sed
> -       $(Q)cmp $(1) $(1).sed >/dev/null 2>&1 && rm -f $(1).sed || mv -f $(1).sed $(1)
> -endef
> -
> -# This function checks the .config did actually change
> -# If not changed, then current .config will be touched with reference to the
> -# stamp file. If the configuration did change, nothing is done.
> -# $1: the current .config to check
> -# $2: the time-stamped .config file
> -define ctng-check-config-changed
> -       $(Q)old_md5="$$( grep -v -E '^(#|$$)' $(2) 2>/dev/null  \
> -                        |md5sum                                \
> -                        |cut -d ' ' -f 1                       \
> -                      )";                                      \
> -           new_md5="$$( grep -v -E '^(#|$$)' $(1) 2>/dev/null  \
> -                        |md5sum                                \
> -                        |cut -d ' ' -f 1                       \
> -                      )";                                      \
> -           if [ $${old_md5} = $${new_md5} -a -f $(2) ]; then   \
> -               touch -r $(2) $(1);                             \
> -           fi
> -endef
> -
> -#--------------
> -# Massage BR2_ARCH so that it matches CT-NG's ARCH
> -#
> -# Note: a lot of the following tricks would become unneeded if one day
> -# buildroot and crosstool-NG had matching options, especially for the
> -# target description: arch name, bitness, endianness...
> -#
> -# Note-2: missing conformity check between BR's .config and libc features.
> -# Use check_uclibc or check_glibc.
> -
> -# Defaults:
> -CTNG_ARCH   := $(CTNG_BR2_ARCH)
> -CTNG_ENDIAN :=
> -CTNG_BIT    :=
> -# Architecture overides, only overide pertinent vars:
> -ifeq      ($(BR2_arm),y)
> -CTNG_ARCH   := arm
> -CTNG_ENDIAN := LE
> -else ifeq ($(BR2_armeb),y)
> -CTNG_ARCH   := arm
> -CTNG_ENDIAN := BE
> -else ifeq ($(BR2_i386),y)
> -CTNG_ARCH   := x86
> -CTNG_BIT    := 32
> -else ifeq ($(BR2_mips),y)
> -CTNG_ARCH   := mips
> -CTNG_ENDIAN := BE
> -else ifeq ($(BR2_mipsel),y)
> -CTNG_ARCH   := mips
> -CTNG_ENDIAN := LE
> -else ifeq ($(BR2_powerpc),y)
> -CTNG_ARCH   := powerpc
> -CTNG_BIT    := 32
> -else ifeq ($(BR2_x86_64),y)
> -CTNG_ARCH   := x86
> -CTNG_BIT    := 64
> -# Add other architecture overides below:
> -#  - keep alphabetic order
> -#  - duplicate next 4 lines, and uncomment
> -#       else ifeq ($(BR2_<arch_name_here>),y)
> -#       CTNG_ARCH   :=
> -#       CTNG_ENDIAN :=
> -#       CTNG_BIT    :=
> -#  - remove unneeded vars
> -#  - add BR arch-name on ifeq line
> -#  - fill-in required CTNG_* vars
> -endif
> -
> -#--------------
> -# Massage BR options into CTNG .config file
> -# CT_ARCH                   : handled by the backend mechanism
> -# CT_ARCH_[BL]E             : endianness
> -# CT_ARCH_(32|64)           : bitness
> -# CT_PREFIX_DIR             : install into BR's toolchain dir
> -# CT_INSTALL_DIR_RO         : do *not* chmod a-w the toolchain dir
> -# CT_LOCAL_TARBALLS_DIR     : share downloads with BR
> -# CT_SYSROOT_DIR_PREFIX     : no prefix needed, really
> -# CT_TARGET_VENDOR          : try to set a unique vendor string, to avoid clashing with BR's vendor string
> -# CT_TARGET_ALIAS           : set the target tuple alias to GNU_TARGET_NAME so that packages' ./configure find the compiler
> -# CT_DEBUG_gdb              : deselect gdb+gdbserver if buildroot builds its own
> -# CT_CC_LANG_CXX            : required if we copy libstdc++.so, and build C++
> -# CT_LIBC_UCLIBC_CONFIG_FILE: uClibc config file, if needed
> -#
> -# Lots of other awfull sed manipulations go here, to override CT-NG's .config
> -# with BR2 config options.
> -# Known missing: arch options, uClibc/eglibc config...
> -#
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_INSTALL_DIR_RO)=y:\# \1 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_ARCH_[BL]E).*:\# \2 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_ENDIAN)) is not set:\1=y:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_ARCH_(32|64)).*:\# \2 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_BIT)) is not set:\1=y:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_TARGET_VENDOR)=.*:\1="buildroot":;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_TARGET_ALIAS)=.*:\1="$(ARCH)-linux":;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_TOOLCHAIN_PKGVERSION)="(.*)":\1="buildroot $(BR2_VERSION_FULL)":;
> -ifneq ($(call qstrip,$(BR2_USE_MMU)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_USE_MMU) is not set:\1=y:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_USE_MMU)=y:\# \1 is not set:;
> -endif
> -ifneq ($(call qstrip,$(BR2_PACKAGE_GDB_SERVER))$(call qstrip,$(BR2_PACKAGE_GDB_HOST)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_DEBUG_gdb)=.*:\# \1 is not set:;
> -endif
> -ifeq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_CXX)),y)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_CC_LANG_CXX) is not set:\1=y:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_CC_LANG_CXX)=.*:\# \1 is not set:;
> -endif
> -
> -# Shoe-horn CPU variant now
> -ifneq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_ARCH)=.*:\1=$(BR2_GCC_TARGET_ARCH):;
> -endif
> -ifneq ($(call qstrip,$(BR2_GCC_TARGET_TUNE)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_TUNE)=.*:\1=$(BR2_GCC_TARGET_TUNE):;
> -endif
> -
> -# And floating point now
> -ifeq ($(call qstrip,$(BR2_SOFT_FLOAT)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_FLOAT_HW) is not set:\1=y:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_FLOAT_SW)=y:\# \1 is not set:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_FLOAT_HW)=y:\# \1 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_FLOAT_SW) is not set:\1=y:;
> -endif
> -
> -# Thread implementation selection
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NONE).*:\# \2 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_LINUXTHREADS).*:\# \2 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NPTL).*:\# \2 is not set:;
> -ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS))$(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS_OLD)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_LINUXTHREADS).*:\2=y:;
> - ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc)),)
> -  ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS_OLD)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_NEW).*:\# \2 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_OLD).*:\2=y:;
> -  else
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_OLD).*:\# \2 is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_NEW).*:\2=y:;
> -  endif
> - endif
> -else ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_NPTL)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NPTL).*:\2=y:;
> -else ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_NONE)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NONE).*:\2=y:;
> -endif
> -
> -#--------------
> -# And the specials for paths
> -CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_PREFIX_DIR)=.*:\1="$(HOST_DIR)/usr":;
> -CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_LOCAL_TARBALLS_DIR)=.*:\1="$(DL_DIR)":;
> -CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_NAME)=.*:\1="sysroot":;
> -CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_DIR_PREFIX)=.*:\1="":;
> -
> -#--------------
> -# uClibc specific options
> -ifeq ($(BR2_TOOLCHAIN_CTNG_uClibc),y)
> -
> -# Handle the locales option
> -ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_LOCALE)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_LIBC_UCLIBC_LOCALES) is not set:\1=y\n\# CT_LIBC_UCLIBC_LOCALES_PREGEN_DATA is not set:;
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_LOCALES_PREGEN_DATA)=.*:\# \1 is not set:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_LOCALES)=.*:\# \1 is not set:;
> -endif
> -
> -# Handle the wide-char option
> -ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_WCHAR)),)
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_LIBC_UCLIBC_WCHAR) is not set:\1=y:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_WCHAR)=.*:\# \1 is not set:;
> -endif
> -
> -# Handle the LFS option
> -ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_LARGEFILE)),)
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_LFS) is not set:\1=y:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_LFS)=.*:\# \1 is not set:;
> -endif
> -
> -# Handle the IPv6 option
> -ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_INET_IPV6)),)
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_IPV6) is not set:\1=y:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_IPV6)=.*:\# \1 is not set:;
> -endif
> -
> -# Handle the RPC option
> -ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_INET_RPC)),)
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_RPC) is not set:\1=y\nUCLIBC_HAS_FULL_RPC=y\nUCLIBC_HAS_REENTRANT_RPC=y:;
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_FULL_RPC) is not set:\1=y:;
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_REENTRANT_RPC) is not set:\1=y:;
> -else
> -CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_RPC)=.*:\# \1 is not set:;
> -endif
> -
> -# Instruct CT-NG's .config where to find the uClibc's .config
> -CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_DIR)/libc.config":;
> -
> -# And add this to the toolchain build dependency
> -$(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/libc.config
> -
> -# And here is how we get this uClibc's .config
> -$(CTNG_DIR)/libc.config: $(CTNG_UCLIBC_CONFIG_FILE) $(BUILDROOT_CONFIG)
> -       -$(Q)cp -a $@ $@.timestamp
> -       $(Q)cp -f $< $@
> -       $(call ctng-fix-dot-config,$@,$(CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED))
> -       $(call ctng-check-config-changed,$@,$@.timestamp)
> -       $(Q)rm -f $@.timestamp
> -
> -endif # LIBC is uClibc
> -
> -#--------------
> -# glibc/eglibc specific options
> -ifeq ($(BR2_TOOLCHAIN_CTNG_glibc)$(BR2_TOOLCHAIN_CTNG_eglibc),y)
> -
> -# Force unwind support
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_LIBC_GLIBC_FORCE_UNWIND) is not set:\1=y:;
> -
> -# Force non-fortified build
> -CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_ENABLE_FORTIFIED_BUILD)=y:\# \1 is not set:;
> -
> -endif # LIBC is glibc or eglibc
> -
> -#--------------
> -# Small functions to shoe-horn the above into crosstool-NG's .config
> -
> -# Function to update the .config
> -# We first munge the .config to shoe-horn defaults, then we push that unto
> -# crosstool-NG's oldconfig process, to sort out wizy-wazy deps, and then we
> -# shoe-horn paths again, as they get ripped-out by oldconfig (is that a bug
> -# or a feature of kconfig?)
> -# $1: the .config file to munge
> -define ctng-oldconfig
> -       $(call ctng-fix-dot-config,$(1),$(CTNG_FIX_BUILDROOT_CONFIG_SED))
> -       $(Q)yes ''                                             |\
> -       $(call ctng,CT_IS_A_BACKEND=y                           \
> -                   CT_BACKEND_ARCH=$(CTNG_ARCH)                \
> -                   CT_BACKEND_KERNEL=linux                     \
> -                   CT_BACKEND_LIBC=$(BR2_TOOLCHAIN_CTNG_LIBC)  \
> -                   oldconfig                                   )
> -       $(call ctng-fix-dot-config,$(1),$(CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED))
> -endef
> -
> -# We need the host crosstool-NG before we can even begin working
> -# on the toolchain. Using order-only dependency, as we do not want
> -# to rebuild the toolchain for every run...
> -$(CTNG_DIR)/.config: | host-crosstool-ng
> -
> -# Default configuration
> -# Only copy the original .config file if we don't have one already.
> -# Check that given config file matches selected C library.
> -# We need to call oldconfig twice in a row to ensure the options
> -# are correctly set ( eg. if an option is new, then the initial sed
> -# can't do anything about it ) Ideally, this should go in oldconfig
> -# itself, but it's much easier to handle here.
> -$(CTNG_DIR)/.config:
> -       $(Q)if [ ! -f $@ ]; then                                                        \
> -               mkdir -p "$(CTNG_DIR)";                                                 \
> -               libc="$$(awk -F '"' '$$1=="CT_LIBC=" { print $$2; }'                    \
> -                               "$(CTNG_CONFIG_FILE)"                                   \
> -                       )";                                                             \
> -               if [ "$${libc}" != "$(BR2_TOOLCHAIN_CTNG_LIBC)" ]; then                 \
> -                   echo "* Inconsistency in crosstool-NG config file '$(CTNG_CONFIG_FILE)'"; \
> -                   echo "* - buildroot configured for '$(BR2_TOOLCHAIN_CTNG_LIBC)'";   \
> -                   echo "* - given config file for '$${libc}'";                        \
> -                   exit 1;                                                             \
> -               fi;                                                                     \
> -               cp -f $(CTNG_CONFIG_FILE) $@;                                                            \
> -           fi
> -       $(call ctng-oldconfig,$@)
> -       $(call ctng-oldconfig,$@)
> -
> -# Manual configuration
> -ctng-menuconfig: $(CTNG_DIR)/.config
> -       $(Q)cp -a $< $<.timestamp
> -       $(Q)$(call ctng,CT_IS_A_BACKEND=y                           \
> -                       CT_BACKEND_ARCH=$(CTNG_ARCH)                \
> -                       CT_BACKEND_KERNEL=linux                     \
> -                       CT_BACKEND_LIBC=$(BR2_TOOLCHAIN_CTNG_LIBC)  \
> -                       menuconfig                                  )
> -       $(call ctng-oldconfig,$<)
> -       $(call ctng-check-config-changed,$<,$<.timestamp)
> -       $(Q)rm -f $<.timestamp
> --


I still found two references to CTNG in:

package/Makefile.in:137:ifeq ($(BR2_TOOLCHAIN_BUILDROOT)$(BR2_TOOLCHAIN_CTNG),y)
package/libglib2/libglib2.mk:55:ifeq
($(BR2_UCLIBC_VERSION_0_9_32)$(BR2_TOOLCHAIN_CTNG_uClibc)$(BR2_TOOLCHAIN_EXTERNAL_UCLIBC)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEEL_V2)$(BR2_TOOLCHAIN_EXTERNAL_XILINX_MICROBLAZEBE_V2),y)

Other than this, I also don't have a problem of removing the
crosstool-ng support inside buildroot. I was using it before, but now
successfully migrated to an external crosstool-ng repo.

Best regards,
Thomas
Luca Ceresoli - Sept. 13, 2013, 4:10 p.m.
Thomas Petazzoni wrote:
> In order to avoid the work of converting the toolchain-crosstool-ng
> logic to the package infrastructure, we remove it from Buildroot,
> since it has been deprecated since quite some time.
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> If we consider it too early to get rid of the Crosstool-NG backend
> entirely, then it can of course be converted to the package
> infrastructure, with quite a bit of effort (which we wanted to avoid
> for now).

I have nothing against the removal of crosstool-NG.

I'm happy with using ct-NG to build a toolchain and use it inBR as an
external toolchain.

Luca

Patch

diff --git a/Makefile b/Makefile
index 93fc6ea..f64a101 100644
--- a/Makefile
+++ b/Makefile
@@ -226,8 +226,6 @@  ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 BASE_TARGETS += toolchain-buildroot
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
 BASE_TARGETS += toolchain-external
-else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
-BASE_TARGETS += toolchain-crosstool-ng
 endif
 
 TARGETS:=
@@ -322,8 +320,6 @@  ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 include toolchain/toolchain-buildroot.mk
 else ifeq ($(BR2_TOOLCHAIN_EXTERNAL),y)
 include toolchain/toolchain-external.mk
-else ifeq ($(BR2_TOOLCHAIN_CTNG),y)
-include toolchain/toolchain-crosstool-ng.mk
 endif
 
 # Include the package override file if one has been provided in the
@@ -805,9 +801,6 @@  endif
 ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
 	@echo '  uclibc-menuconfig      - Run uClibc menuconfig'
 endif
-ifeq ($(BR2_TOOLCHAIN_CTNG),y)
-	@echo '  ctng-menuconfig        - Run crosstool-NG menuconfig'
-endif
 ifeq ($(BR2_TARGET_BAREBOX),y)
 	@echo '  barebox-menuconfig     - Run barebox menuconfig'
 	@echo '  barebox-savedefconfig  - Run barebox savedefconfig'
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 9d1e68f..4bb147f 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -35,23 +35,10 @@  config BR2_TOOLCHAIN_EXTERNAL
 	  toolchain. Buildroot can either download automatically a
 	  toolchain, or use an already installed toolchain.
 
-config BR2_TOOLCHAIN_CTNG
-	bool "Crosstool-NG toolchain"
-	depends on BR2_DEPRECATED
-	depends on !BR2_microblaze && !BR2_aarch64 && !BR2_xtensa && \
-		   !BR2_arc && !BR2_nios2
-	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS
-	help
-	  Say 'y' if you want to generate the toolchain with crosstool-NG
-	  (http://crosstool-ng.org).
-
-	  This is considered experimental, and you can expect some breakage.
-
 endchoice
 
 source "toolchain/toolchain-buildroot/Config.in"
 source "toolchain/toolchain-external/Config.in"
-source "toolchain/toolchain-crosstool-ng/Config.in"
 source "toolchain/toolchain-common.in"
 source "toolchain/toolchain-buildroot/Config.in.2"
 
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk
index 44b6018..e6ecc02 100644
--- a/toolchain/helpers.mk
+++ b/toolchain/helpers.mk
@@ -1,7 +1,5 @@ 
 # This Makefile fragment declares helper functions, usefull to handle
-# non- buildroot-built toolchains, eg. purely external toolchains or
-# toolchains (internally) built using crosstool-NG.
-
+# non- buildroot-built toolchains, eg. purely external toolchains.
 #
 # Copy a toolchain library and its symbolic links from the sysroot
 # directory to the target directory. Also optionaly strips the
diff --git a/toolchain/toolchain-common.in b/toolchain/toolchain-common.in
index dc3bd2a..bff11f5 100644
--- a/toolchain/toolchain-common.in
+++ b/toolchain/toolchain-common.in
@@ -56,10 +56,6 @@  config BR2_ENABLE_LOCALE_WHITELIST
 config BR2_GENERATE_LOCALE
 	string "Generate locale data"
 	default ""
-	# Pre-built uClibc external toolchains and uClibc toolchains
-	# built by the Crosstool-NG backend cannot be supported,
-	# because the list of locales to support must be defined at
-	# build time.
 	depends on \
 		BR2_TOOLCHAIN_BUILDROOT      || \
 		BR2_TOOLCHAIN_USES_GLIBC
diff --git a/toolchain/toolchain-crosstool-ng.mk b/toolchain/toolchain-crosstool-ng.mk
deleted file mode 100644
index 9e666a0..0000000
--- a/toolchain/toolchain-crosstool-ng.mk
+++ /dev/null
@@ -1,5 +0,0 @@ 
-# Required includes for the external toolchain backend
-
-# Explicit ordering:
-include toolchain/helpers.mk
-include toolchain/toolchain-crosstool-ng/crosstool-ng.mk
diff --git a/toolchain/toolchain-crosstool-ng/Config.in b/toolchain/toolchain-crosstool-ng/Config.in
deleted file mode 100644
index 7cfd8c2..0000000
--- a/toolchain/toolchain-crosstool-ng/Config.in
+++ /dev/null
@@ -1,133 +0,0 @@ 
-# Selection options for crosstool-NG
-
-if BR2_TOOLCHAIN_CTNG
-
-choice
- 	prompt "Crosstool-NG C library"
-
-config BR2_TOOLCHAIN_CTNG_uClibc
-	bool "uClibc"
-	select BR2_TOOLCHAIN_USES_UCLIBC
-
-# Although eglibc can be configured to opt-out some features,
-# let's not deal with that for the time being, it's complex...
-config BR2_TOOLCHAIN_CTNG_eglibc
-	bool "eglibc"
-	# Our default ct-ng configuration uses eglibc 2.12, which has
-	# native RPC support
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	select BR2_TOOLCHAIN_USES_GLIBC
-
-config BR2_TOOLCHAIN_CTNG_glibc
-	bool "glibc"
-	# Our default ct-ng configuration uses glibc 2.14.1, which
-	# does not have native RPC support
-	select BR2_TOOLCHAIN_USES_GLIBC
-
-endchoice # C library
-
-config BR2_TOOLCHAIN_CTNG_LIBC
-	string
-	default "uClibc"	if BR2_TOOLCHAIN_CTNG_uClibc
-	default "eglibc"	if BR2_TOOLCHAIN_CTNG_eglibc
-	default "glibc"		if BR2_TOOLCHAIN_CTNG_glibc
-
-config BR2_TOOLCHAIN_CTNG_CONFIG
-	string "crosstool-NG configuration file to use"
-	default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc" if BR2_TOOLCHAIN_CTNG_uClibc
-	default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc" if BR2_TOOLCHAIN_CTNG_eglibc
-	default "toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc"  if BR2_TOOLCHAIN_CTNG_glibc
-	help
-	  Enter here the path to the crosstool-NG .config file to use.
-	  
-	  Generally, the default crosstool-NG configuration files bundled with
-	  Buildroot work fine in most situations. Use 'make ctng-menuconfig'
-	  from the command line, for expert customization of your toolchain.
-	  
-	  If unsure, keep the default value.
-
-if BR2_TOOLCHAIN_CTNG_uClibc
-
-comment "Toolchain Options"
-
-config BR2_TOOLCHAIN_CTNG_uClibc_LARGEFILE
-	bool "Enable large file (files > 2 GB) support"
-	select BR2_LARGEFILE
-	help
-	  Enable this option if you want your toolchain to support
-	  files bigger than 2 GB.
-
-config BR2_TOOLCHAIN_CTNG_uClibc_INET_IPV6
-	bool "Enable IPv6 support"
-	select BR2_INET_IPV6
-	help
-	  Enable this option if you want your toolchain to support
-	  IPv6.
-
-config BR2_TOOLCHAIN_CTNG_uClibc_INET_RPC
-	bool "Enable RPC support"
-	select BR2_TOOLCHAIN_HAS_NATIVE_RPC
-	help
-	  Enable this option if you want your toolchain to support
-	  RPC (needed for NFS, for example).
-
-config BR2_TOOLCHAIN_CTNG_uClibc_WCHAR
-	bool "Enable WCHAR support"
-	select BR2_USE_WCHAR
-	help
-	  Enable this option if you want your toolchain to support
-	  wide characters (i.e characters longer than 8 bits, needed
-	  for locale support).
-
-config BR2_TOOLCHAIN_CTNG_uClibc_LOCALE
-	bool "Enable toolchain locale/i18n support"
-	select BR2_TOOLCHAIN_CTNG_uClibc_WCHAR
-	select BR2_ENABLE_LOCALE
-	help
-	  Enable this option if you want your toolchain to support
-	  localization and internationalization.
-
-endif # BR2_TOOLCHAIN_CTNG_uClibc
-
-config BR2_TOOLCHAIN_CTNG_CXX
-	bool "Enable C++ support"
-	select BR2_INSTALL_LIBSTDCPP
-	help
-	  Enable this option if you want your toolchain to support the
-	  C++ language and you want C++ libraries to be installed on
-	  your target system.
-
-choice
-	prompt "Thread library implementation"
-	default BR2_TOOLCHAIN_CTNG_THREADS_NPTL
-	help
-	  Enable thread support and select thread implementation. With
-	  glibc, thread support is mandatory but several
-	  implementations are available. With uClibc, thread support
-	  is optional, and when enabled, several implementations are
-	  available. However, not all thread variants work with all
-	  versions of uClibc for all architectures, the "linuxthreads
-	  (stable/old)" may be a working fallback.
-
-	config BR2_TOOLCHAIN_CTNG_THREADS_NONE
-		bool "none"
-		depends on BR2_TOOLCHAIN_CTNG_uClibc
-
-	config BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS
-		bool "linuxthreads"
-		select BR2_TOOLCHAIN_HAS_THREADS
-		select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
-
-	config BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS_OLD
-		bool "linuxthreads (stable/old)"
-		select BR2_TOOLCHAIN_HAS_THREADS
-		select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
-		depends on BR2_TOOLCHAIN_CTNG_uClibc
-
-	config BR2_TOOLCHAIN_CTNG_THREADS_NPTL
-		bool "Native POSIX Threading (NPTL)"
-		select BR2_TOOLCHAIN_HAS_THREADS
-		select BR2_TOOLCHAIN_HAS_THREADS_DEBUG
-endchoice
-
-endif # BR2_TOOLCHAIN_CTNG
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
deleted file mode 100644
index 08f036c..0000000
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-eglibc
+++ /dev/null
@@ -1,502 +0,0 @@ 
-#
-# Automatically generated make config: don't edit
-# crosstool-NG 1.17.0 Configuration
-# Sat Dec  8 12:57:07 2012
-#
-CT_CONFIGURE_has_xz=y
-CT_CONFIGURE_has_svn=y
-CT_MODULES=y
-
-#
-# Paths and misc options
-#
-
-#
-# crosstool-NG behavior
-#
-# CT_OBSOLETE is not set
-# CT_EXPERIMENTAL is not set
-# CT_DEBUG_CT is not set
-
-#
-# Paths
-#
-CT_LOCAL_TARBALLS_DIR=""
-CT_WORK_DIR="${CT_TOP_DIR}/.build"
-CT_PREFIX_DIR=""
-CT_INSTALL_DIR="${CT_PREFIX_DIR}"
-CT_RM_RF_PREFIX_DIR=y
-CT_REMOVE_DOCS=y
-# CT_INSTALL_DIR_RO is not set
-# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
-
-#
-# Downloading
-#
-# CT_FORBID_DOWNLOAD is not set
-# CT_FORCE_DOWNLOAD is not set
-CT_CONNECT_TIMEOUT=10
-# CT_ONLY_DOWNLOAD is not set
-# CT_USE_MIRROR is not set
-
-#
-# Extracting
-#
-# CT_FORCE_EXTRACT is not set
-CT_OVERIDE_CONFIG_GUESS_SUB=y
-# CT_ONLY_EXTRACT is not set
-CT_PATCH_BUNDLED=y
-# CT_PATCH_LOCAL is not set
-# CT_PATCH_BUNDLED_LOCAL is not set
-# CT_PATCH_LOCAL_BUNDLED is not set
-# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
-# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
-# CT_PATCH_NONE is not set
-CT_PATCH_ORDER="bundled"
-
-#
-# Build behavior
-#
-CT_PARALLEL_JOBS=0
-CT_LOAD=0
-CT_USE_PIPES=y
-CT_EXTRA_FLAGS_FOR_HOST=""
-# CT_CONFIG_SHELL_SH is not set
-# CT_CONFIG_SHELL_ASH is not set
-CT_CONFIG_SHELL_BASH=y
-# CT_CONFIG_SHELL_CUSTOM is not set
-CT_CONFIG_SHELL="${bash}"
-
-#
-# Logging
-#
-# CT_LOG_ERROR is not set
-# CT_LOG_WARN is not set
-# CT_LOG_INFO is not set
-# CT_LOG_EXTRA is not set
-CT_LOG_ALL=y
-# CT_LOG_DEBUG is not set
-CT_LOG_LEVEL_MAX="ALL"
-# CT_LOG_SEE_TOOLS_WARN is not set
-CT_LOG_TO_FILE=y
-CT_LOG_FILE_COMPRESS=y
-
-#
-# Target options
-#
-CT_ARCH="arm"
-CT_ARCH_SUPPORTS_BOTH_MMU=y
-CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
-CT_ARCH_SUPPORTS_32=y
-CT_ARCH_SUPPORTS_WITH_ARCH=y
-CT_ARCH_SUPPORTS_WITH_CPU=y
-CT_ARCH_SUPPORTS_WITH_TUNE=y
-CT_ARCH_SUPPORTS_WITH_FLOAT=y
-CT_ARCH_SUPPORTS_WITH_FPU=y
-CT_ARCH_SUPPORTS_SOFTFP=y
-CT_ARCH_DEFAULT_HAS_MMU=y
-CT_ARCH_DEFAULT_LE=y
-CT_ARCH_DEFAULT_32=y
-CT_ARCH_ARCH=""
-CT_ARCH_CPU=""
-CT_ARCH_TUNE=""
-CT_ARCH_FPU=""
-# CT_ARCH_BE is not set
-CT_ARCH_LE=y
-CT_ARCH_32=y
-CT_ARCH_BITNESS=32
-# CT_ARCH_FLOAT_HW is not set
-CT_ARCH_FLOAT_SW=y
-CT_TARGET_CFLAGS=""
-CT_TARGET_LDFLAGS=""
-# CT_ARCH_alpha is not set
-CT_ARCH_arm=y
-# CT_ARCH_avr32 is not set
-# CT_ARCH_blackfin is not set
-# CT_ARCH_mips is not set
-# CT_ARCH_powerpc is not set
-# CT_ARCH_sh is not set
-# CT_ARCH_sparc is not set
-# CT_ARCH_x86 is not set
-CT_ARCH_alpha_AVAILABLE=y
-CT_ARCH_arm_AVAILABLE=y
-CT_ARCH_avr32_AVAILABLE=y
-CT_ARCH_blackfin_AVAILABLE=y
-CT_ARCH_m68k_AVAILABLE=y
-CT_ARCH_microblaze_AVAILABLE=y
-CT_ARCH_mips_AVAILABLE=y
-CT_ARCH_powerpc_AVAILABLE=y
-CT_ARCH_s390_AVAILABLE=y
-CT_ARCH_sh_AVAILABLE=y
-CT_ARCH_sparc_AVAILABLE=y
-CT_ARCH_x86_AVAILABLE=y
-
-#
-# Generic target options
-#
-CT_ARCH_USE_MMU=y
-CT_ARCH_ENDIAN="little"
-
-#
-# Target optimisations
-#
-# CT_ARCH_FLOAT_SOFTFP is not set
-CT_ARCH_FLOAT="soft"
-
-#
-# arm other options
-#
-CT_ARCH_ARM_MODE="arm"
-CT_ARCH_ARM_MODE_ARM=y
-CT_ARCH_ARM_EABI=y
-
-#
-# Toolchain options
-#
-
-#
-# General toolchain options
-#
-CT_FORCE_SYSROOT=y
-CT_USE_SYSROOT=y
-CT_SYSROOT_NAME="sysroot"
-CT_SYSROOT_DIR_PREFIX=""
-CT_WANTS_STATIC_LINK=y
-CT_TOOLCHAIN_PKGVERSION=""
-CT_TOOLCHAIN_BUGURL=""
-
-#
-# Tuple completion and aliasing
-#
-CT_TARGET_VENDOR="unknown"
-CT_TARGET_ALIAS_SED_EXPR=""
-CT_TARGET_ALIAS=""
-
-#
-# Toolchain type
-#
-CT_CROSS=y
-CT_TOOLCHAIN_TYPE="cross"
-
-#
-# Build system
-#
-CT_BUILD=""
-CT_BUILD_PREFIX=""
-CT_BUILD_SUFFIX=""
-
-#
-# Misc options
-#
-# CT_TOOLCHAIN_ENABLE_NLS is not set
-
-#
-# Operating System
-#
-CT_KERNEL_SUPPORTS_SHARED_LIBS=y
-CT_KERNEL="linux"
-CT_KERNEL_VERSION="3.6.3"
-# CT_KERNEL_bare_metal is not set
-CT_KERNEL_linux=y
-CT_KERNEL_bare_metal_AVAILABLE=y
-CT_KERNEL_linux_AVAILABLE=y
-CT_KERNEL_V_3_6_3=y
-# CT_KERNEL_V_3_6_2 is not set
-# CT_KERNEL_V_3_6_1 is not set
-# CT_KERNEL_V_3_6 is not set
-# CT_KERNEL_V_3_5_7 is not set
-# CT_KERNEL_V_3_4_15 is not set
-# CT_KERNEL_V_3_3_8 is not set
-# CT_KERNEL_V_3_2_32 is not set
-# CT_KERNEL_V_3_1_10 is not set
-# CT_KERNEL_V_3_0_48 is not set
-# CT_KERNEL_V_2_6_39_4 is not set
-# CT_KERNEL_V_2_6_38_8 is not set
-# CT_KERNEL_V_2_6_37_6 is not set
-# CT_KERNEL_V_2_6_36_4 is not set
-# CT_KERNEL_V_2_6_33_20 is not set
-# CT_KERNEL_V_2_6_32_60 is not set
-# CT_KERNEL_V_2_6_31_14 is not set
-# CT_KERNEL_V_2_6_27_62 is not set
-# CT_KERNEL_LINUX_CUSTOM is not set
-CT_KERNEL_mingw32_AVAILABLE=y
-
-#
-# Common kernel options
-#
-CT_SHARED_LIBS=y
-
-#
-# linux other options
-#
-CT_KERNEL_LINUX_VERBOSITY_0=y
-# CT_KERNEL_LINUX_VERBOSITY_1 is not set
-# CT_KERNEL_LINUX_VERBOSITY_2 is not set
-CT_KERNEL_LINUX_VERBOSE_LEVEL=0
-CT_KERNEL_LINUX_INSTALL_CHECK=y
-
-#
-# Binary utilities
-#
-CT_ARCH_BINFMT_ELF=y
-
-#
-# GNU binutils
-#
-# CT_BINUTILS_V_2_21_1a is not set
-CT_BINUTILS_V_2_20_1a=y
-# CT_BINUTILS_V_2_19_1a is not set
-# CT_BINUTILS_V_2_18a is not set
-CT_BINUTILS_VERSION="2.20.1a"
-CT_BINUTILS_2_20_or_later=y
-CT_BINUTILS_2_19_or_later=y
-CT_BINUTILS_2_18_or_later=y
-CT_BINUTILS_HAS_HASH_STYLE=y
-CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
-CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
-CT_BINUTILS_FORCE_LD_BFD=y
-CT_BINUTILS_LINKER_LD=y
-CT_BINUTILS_LINKERS_LIST="ld"
-CT_BINUTILS_LINKER_DEFAULT="bfd"
-CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
-# CT_BINUTILS_FOR_TARGET is not set
-
-#
-# C compiler
-#
-CT_CC="gcc"
-CT_CC_VERSION="4.6.3"
-CT_CC_gcc=y
-# CT_CC_V_4_7_2 is not set
-CT_CC_V_4_6_3=y
-# CT_CC_V_4_6_2 is not set
-# CT_CC_V_4_6_1 is not set
-# CT_CC_V_4_6_0 is not set
-# CT_CC_V_4_5_3 is not set
-# CT_CC_V_4_5_2 is not set
-# CT_CC_V_4_5_1 is not set
-# CT_CC_V_4_5_0 is not set
-# CT_CC_V_4_4_7 is not set
-# CT_CC_V_4_4_6 is not set
-# CT_CC_V_4_4_5 is not set
-# CT_CC_V_4_4_4 is not set
-# CT_CC_V_4_4_3 is not set
-# CT_CC_V_4_4_2 is not set
-# CT_CC_V_4_4_1 is not set
-# CT_CC_V_4_4_0 is not set
-# CT_CC_V_4_3_6 is not set
-# CT_CC_V_4_3_5 is not set
-# CT_CC_V_4_3_4 is not set
-# CT_CC_V_4_3_3 is not set
-# CT_CC_V_4_3_2 is not set
-# CT_CC_V_4_3_1 is not set
-# CT_CC_V_4_2_4 is not set
-# CT_CC_V_4_2_2 is not set
-CT_CC_GCC_4_2_or_later=y
-CT_CC_GCC_4_3_or_later=y
-CT_CC_GCC_4_4_or_later=y
-CT_CC_GCC_4_5_or_later=y
-CT_CC_GCC_4_6=y
-CT_CC_GCC_4_6_or_later=y
-CT_CC_GCC_HAS_GRAPHITE=y
-CT_CC_GCC_HAS_LTO=y
-CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
-CT_CC_GCC_HAS_BUILD_ID=y
-CT_CC_GCC_USE_GMP_MPFR=y
-CT_CC_GCC_USE_PPL_CLOOG=y
-CT_CC_GCC_USE_MPC=y
-CT_CC_GCC_HAS_LIBQUADMATH=y
-# CT_CC_LANG_FORTRAN is not set
-CT_CC_SUPPORT_CXX=y
-CT_CC_SUPPORT_FORTRAN=y
-CT_CC_SUPPORT_JAVA=y
-CT_CC_SUPPORT_ADA=y
-CT_CC_SUPPORT_OBJC=y
-CT_CC_SUPPORT_OBJCXX=y
-
-#
-# Additional supported languages:
-#
-CT_CC_LANG_CXX=y
-# CT_CC_LANG_JAVA is not set
-
-#
-# gcc other options
-#
-CT_CC_ENABLE_CXX_FLAGS=""
-CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
-CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
-CT_CC_STATIC_LIBSTDCXX=y
-
-#
-# Optimisation features
-#
-CT_CC_GCC_USE_GRAPHITE=y
-CT_CC_GCC_USE_LTO=y
-
-#
-# Settings for libraries running on target
-#
-CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
-# CT_CC_GCC_LIBMUDFLAP is not set
-# CT_CC_GCC_LIBGOMP is not set
-# CT_CC_GCC_LIBSSP is not set
-# CT_CC_GCC_LIBQUADMATH is not set
-
-#
-# Misc. obscure options.
-#
-CT_CC_CXA_ATEXIT=y
-# CT_CC_GCC_DISABLE_PCH is not set
-CT_CC_GCC_SJLJ_EXCEPTIONS=m
-CT_CC_GCC_LDBL_128=m
-# CT_CC_GCC_BUILD_ID is not set
-
-#
-# C-library
-#
-CT_LIBC="eglibc"
-CT_LIBC_VERSION="2_12"
-CT_LIBC_eglibc=y
-# CT_LIBC_glibc is not set
-# CT_LIBC_uClibc is not set
-CT_LIBC_eglibc_AVAILABLE=y
-# CT_LIBC_EGLIBC_V_2_16 is not set
-# CT_LIBC_EGLIBC_V_2_15 is not set
-# CT_LIBC_EGLIBC_V_2_14 is not set
-# CT_LIBC_EGLIBC_V_2_13 is not set
-CT_LIBC_EGLIBC_V_2_12=y
-# CT_LIBC_EGLIBC_V_2_11 is not set
-# CT_LIBC_EGLIBC_V_2_10 is not set
-# CT_LIBC_EGLIBC_V_2_9 is not set
-# CT_LIBC_EGLIBC_V_TRUNK is not set
-CT_LIBC_EGLIBC_2_12_or_later=y
-CT_LIBC_EGLIBC_2_11_or_later=y
-CT_LIBC_EGLIBC_2_10_or_later=y
-CT_LIBC_EGLIBC_2_9_or_later=y
-CT_LIBC_EGLIBC_HAS_PKGVERSION_BUGURL=y
-CT_EGLIBC_REVISION="HEAD"
-# CT_EGLIBC_HTTP is not set
-# CT_EGLIBC_CHECKOUT is not set
-CT_EGLIBC_OPT_SIZE=y
-# CT_EGLIBC_CUSTOM_CONFIG is not set
-CT_LIBC_glibc_AVAILABLE=y
-CT_LIBC_mingw_AVAILABLE=y
-CT_LIBC_newlib_AVAILABLE=y
-CT_LIBC_none_AVAILABLE=y
-CT_LIBC_uClibc_AVAILABLE=y
-CT_LIBC_SUPPORT_THREADS_ANY=y
-CT_LIBC_SUPPORT_NPTL=y
-CT_LIBC_SUPPORT_LINUXTHREADS=y
-CT_THREADS="nptl"
-
-#
-# Common C library options
-#
-CT_THREADS_NPTL=y
-# CT_THREADS_LINUXTHREADS is not set
-CT_LIBC_XLDD=y
-
-#
-# eglibc other options
-#
-CT_LIBC_GLIBC_MAY_FORCE_PORTS=y
-CT_LIBC_glibc_familly=y
-CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
-CT_LIBC_GLIBC_CONFIGPARMS=""
-CT_LIBC_GLIBC_EXTRA_CFLAGS=""
-CT_LIBC_EXTRA_CC_ARGS=""
-# CT_LIBC_DISABLE_VERSIONING is not set
-CT_LIBC_OLDEST_ABI=""
-CT_LIBC_GLIBC_FORCE_UNWIND=y
-CT_LIBC_GLIBC_USE_PORTS=y
-CT_LIBC_ADDONS_LIST=""
-
-#
-# WARNING !!!                                            
-#
-
-#
-#   For glibc >= 2.8, it can happen that the tarballs    
-#
-
-#
-#   for the addons are not available for download.       
-#
-
-#
-#   If that happens, bad luck... Try a previous version  
-#
-
-#
-#   or try again later... :-(                            
-#
-# CT_LIBC_LOCALES is not set
-# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
-CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
-# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
-CT_LIBC_GLIBC_MIN_KERNEL="3.6.3"
-
-#
-# Debug facilities
-#
-# CT_DEBUG_dmalloc is not set
-# CT_DEBUG_duma is not set
-# CT_DEBUG_gdb is not set
-# CT_DEBUG_ltrace is not set
-# CT_DEBUG_strace is not set
-
-#
-# Companion libraries
-#
-CT_COMPLIBS_NEEDED=y
-CT_GMP_NEEDED=y
-CT_MPFR_NEEDED=y
-CT_PPL_NEEDED=y
-CT_CLOOG_NEEDED=y
-CT_MPC_NEEDED=y
-CT_COMPLIBS=y
-CT_GMP=y
-CT_MPFR=y
-CT_PPL=y
-CT_CLOOG=y
-CT_MPC=y
-# CT_GMP_V_5_0_2 is not set
-# CT_GMP_V_5_0_1 is not set
-CT_GMP_V_4_3_2=y
-# CT_GMP_V_4_3_1 is not set
-# CT_GMP_V_4_3_0 is not set
-CT_GMP_VERSION="4.3.2"
-# CT_MPFR_V_3_1_0 is not set
-# CT_MPFR_V_3_0_1 is not set
-# CT_MPFR_V_3_0_0 is not set
-CT_MPFR_V_2_4_2=y
-# CT_MPFR_V_2_4_1 is not set
-# CT_MPFR_V_2_4_0 is not set
-CT_MPFR_VERSION="2.4.2"
-CT_PPL_V_0_11_2=y
-# CT_PPL_V_0_11_1 is not set
-# CT_PPL_V_0_11 is not set
-# CT_PPL_V_0_10_2 is not set
-CT_PPL_VERSION="0.11.2"
-CT_PPL_0_11=y
-CT_PPL_NEEDS_LIBPWL=y
-CT_CLOOG_V_0_15_11=y
-# CT_CLOOG_V_0_15_10 is not set
-# CT_CLOOG_V_0_15_9 is not set
-# CT_CLOOG_V_0_15_8 is not set
-# CT_CLOOG_V_0_15_7 is not set
-# CT_CLOOG_V_0_15_6 is not set
-CT_CLOOG_VERSION="0.15.11"
-CT_CLOOG_0_15_1x=y
-CT_CLOOG_NEEDS_AUTORECONF=y
-CT_MPC_V_0_9=y
-# CT_MPC_V_0_8_2 is not set
-# CT_MPC_V_0_8_1 is not set
-# CT_MPC_V_0_7 is not set
-CT_MPC_VERSION="0.9"
-
-#
-# Companion libraries common options
-#
-# CT_COMPLIBS_CHECK is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
deleted file mode 100644
index 5b4bbba..0000000
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-glibc
+++ /dev/null
@@ -1,491 +0,0 @@ 
-#
-# Automatically generated make config: don't edit
-# crosstool-NG 1.17.0 Configuration
-# Sat Dec  8 12:56:02 2012
-#
-CT_CONFIGURE_has_xz=y
-CT_CONFIGURE_has_svn=y
-CT_MODULES=y
-
-#
-# Paths and misc options
-#
-
-#
-# crosstool-NG behavior
-#
-# CT_OBSOLETE is not set
-# CT_EXPERIMENTAL is not set
-# CT_DEBUG_CT is not set
-
-#
-# Paths
-#
-CT_LOCAL_TARBALLS_DIR=""
-CT_WORK_DIR="${CT_TOP_DIR}/.build"
-CT_PREFIX_DIR=""
-CT_INSTALL_DIR="${CT_PREFIX_DIR}"
-CT_RM_RF_PREFIX_DIR=y
-CT_REMOVE_DOCS=y
-# CT_INSTALL_DIR_RO is not set
-# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
-
-#
-# Downloading
-#
-# CT_FORBID_DOWNLOAD is not set
-# CT_FORCE_DOWNLOAD is not set
-CT_CONNECT_TIMEOUT=10
-# CT_ONLY_DOWNLOAD is not set
-# CT_USE_MIRROR is not set
-
-#
-# Extracting
-#
-# CT_FORCE_EXTRACT is not set
-CT_OVERIDE_CONFIG_GUESS_SUB=y
-# CT_ONLY_EXTRACT is not set
-CT_PATCH_BUNDLED=y
-# CT_PATCH_LOCAL is not set
-# CT_PATCH_BUNDLED_LOCAL is not set
-# CT_PATCH_LOCAL_BUNDLED is not set
-# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
-# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
-# CT_PATCH_NONE is not set
-CT_PATCH_ORDER="bundled"
-
-#
-# Build behavior
-#
-CT_PARALLEL_JOBS=0
-CT_LOAD=0
-CT_USE_PIPES=y
-CT_EXTRA_FLAGS_FOR_HOST=""
-# CT_CONFIG_SHELL_SH is not set
-# CT_CONFIG_SHELL_ASH is not set
-CT_CONFIG_SHELL_BASH=y
-# CT_CONFIG_SHELL_CUSTOM is not set
-CT_CONFIG_SHELL="${bash}"
-
-#
-# Logging
-#
-# CT_LOG_ERROR is not set
-# CT_LOG_WARN is not set
-# CT_LOG_INFO is not set
-# CT_LOG_EXTRA is not set
-CT_LOG_ALL=y
-# CT_LOG_DEBUG is not set
-CT_LOG_LEVEL_MAX="ALL"
-# CT_LOG_SEE_TOOLS_WARN is not set
-CT_LOG_TO_FILE=y
-CT_LOG_FILE_COMPRESS=y
-
-#
-# Target options
-#
-CT_ARCH="arm"
-CT_ARCH_SUPPORTS_BOTH_MMU=y
-CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
-CT_ARCH_SUPPORTS_32=y
-CT_ARCH_SUPPORTS_WITH_ARCH=y
-CT_ARCH_SUPPORTS_WITH_CPU=y
-CT_ARCH_SUPPORTS_WITH_TUNE=y
-CT_ARCH_SUPPORTS_WITH_FLOAT=y
-CT_ARCH_SUPPORTS_WITH_FPU=y
-CT_ARCH_SUPPORTS_SOFTFP=y
-CT_ARCH_DEFAULT_HAS_MMU=y
-CT_ARCH_DEFAULT_LE=y
-CT_ARCH_DEFAULT_32=y
-CT_ARCH_ARCH=""
-CT_ARCH_CPU=""
-CT_ARCH_TUNE=""
-CT_ARCH_FPU=""
-# CT_ARCH_BE is not set
-CT_ARCH_LE=y
-CT_ARCH_32=y
-CT_ARCH_BITNESS=32
-# CT_ARCH_FLOAT_HW is not set
-CT_ARCH_FLOAT_SW=y
-CT_TARGET_CFLAGS=""
-CT_TARGET_LDFLAGS=""
-# CT_ARCH_alpha is not set
-CT_ARCH_arm=y
-# CT_ARCH_avr32 is not set
-# CT_ARCH_blackfin is not set
-# CT_ARCH_mips is not set
-# CT_ARCH_powerpc is not set
-# CT_ARCH_sh is not set
-# CT_ARCH_sparc is not set
-# CT_ARCH_x86 is not set
-CT_ARCH_alpha_AVAILABLE=y
-CT_ARCH_arm_AVAILABLE=y
-CT_ARCH_avr32_AVAILABLE=y
-CT_ARCH_blackfin_AVAILABLE=y
-CT_ARCH_m68k_AVAILABLE=y
-CT_ARCH_microblaze_AVAILABLE=y
-CT_ARCH_mips_AVAILABLE=y
-CT_ARCH_powerpc_AVAILABLE=y
-CT_ARCH_s390_AVAILABLE=y
-CT_ARCH_sh_AVAILABLE=y
-CT_ARCH_sparc_AVAILABLE=y
-CT_ARCH_x86_AVAILABLE=y
-
-#
-# Generic target options
-#
-CT_ARCH_USE_MMU=y
-CT_ARCH_ENDIAN="little"
-
-#
-# Target optimisations
-#
-# CT_ARCH_FLOAT_SOFTFP is not set
-CT_ARCH_FLOAT="soft"
-
-#
-# arm other options
-#
-CT_ARCH_ARM_MODE="arm"
-CT_ARCH_ARM_MODE_ARM=y
-CT_ARCH_ARM_EABI=y
-
-#
-# Toolchain options
-#
-
-#
-# General toolchain options
-#
-CT_FORCE_SYSROOT=y
-CT_USE_SYSROOT=y
-CT_SYSROOT_NAME="sysroot"
-CT_SYSROOT_DIR_PREFIX=""
-CT_WANTS_STATIC_LINK=y
-CT_TOOLCHAIN_PKGVERSION=""
-CT_TOOLCHAIN_BUGURL=""
-
-#
-# Tuple completion and aliasing
-#
-CT_TARGET_VENDOR="unknown"
-CT_TARGET_ALIAS_SED_EXPR=""
-CT_TARGET_ALIAS=""
-
-#
-# Toolchain type
-#
-CT_CROSS=y
-CT_TOOLCHAIN_TYPE="cross"
-
-#
-# Build system
-#
-CT_BUILD=""
-CT_BUILD_PREFIX=""
-CT_BUILD_SUFFIX=""
-
-#
-# Misc options
-#
-# CT_TOOLCHAIN_ENABLE_NLS is not set
-
-#
-# Operating System
-#
-CT_KERNEL_SUPPORTS_SHARED_LIBS=y
-CT_KERNEL="linux"
-CT_KERNEL_VERSION="3.6.3"
-# CT_KERNEL_bare_metal is not set
-CT_KERNEL_linux=y
-CT_KERNEL_bare_metal_AVAILABLE=y
-CT_KERNEL_linux_AVAILABLE=y
-CT_KERNEL_V_3_6_3=y
-# CT_KERNEL_V_3_6_2 is not set
-# CT_KERNEL_V_3_6_1 is not set
-# CT_KERNEL_V_3_6 is not set
-# CT_KERNEL_V_3_5_7 is not set
-# CT_KERNEL_V_3_4_15 is not set
-# CT_KERNEL_V_3_3_8 is not set
-# CT_KERNEL_V_3_2_32 is not set
-# CT_KERNEL_V_3_1_10 is not set
-# CT_KERNEL_V_3_0_48 is not set
-# CT_KERNEL_V_2_6_39_4 is not set
-# CT_KERNEL_V_2_6_38_8 is not set
-# CT_KERNEL_V_2_6_37_6 is not set
-# CT_KERNEL_V_2_6_36_4 is not set
-# CT_KERNEL_V_2_6_33_20 is not set
-# CT_KERNEL_V_2_6_32_60 is not set
-# CT_KERNEL_V_2_6_31_14 is not set
-# CT_KERNEL_V_2_6_27_62 is not set
-# CT_KERNEL_LINUX_CUSTOM is not set
-CT_KERNEL_mingw32_AVAILABLE=y
-
-#
-# Common kernel options
-#
-CT_SHARED_LIBS=y
-
-#
-# linux other options
-#
-CT_KERNEL_LINUX_VERBOSITY_0=y
-# CT_KERNEL_LINUX_VERBOSITY_1 is not set
-# CT_KERNEL_LINUX_VERBOSITY_2 is not set
-CT_KERNEL_LINUX_VERBOSE_LEVEL=0
-CT_KERNEL_LINUX_INSTALL_CHECK=y
-
-#
-# Binary utilities
-#
-CT_ARCH_BINFMT_ELF=y
-
-#
-# GNU binutils
-#
-# CT_BINUTILS_V_2_21_1a is not set
-CT_BINUTILS_V_2_20_1a=y
-# CT_BINUTILS_V_2_19_1a is not set
-# CT_BINUTILS_V_2_18a is not set
-CT_BINUTILS_VERSION="2.20.1a"
-CT_BINUTILS_2_20_or_later=y
-CT_BINUTILS_2_19_or_later=y
-CT_BINUTILS_2_18_or_later=y
-CT_BINUTILS_HAS_HASH_STYLE=y
-CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
-CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
-CT_BINUTILS_FORCE_LD_BFD=y
-CT_BINUTILS_LINKER_LD=y
-CT_BINUTILS_LINKERS_LIST="ld"
-CT_BINUTILS_LINKER_DEFAULT="bfd"
-CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
-# CT_BINUTILS_FOR_TARGET is not set
-
-#
-# C compiler
-#
-CT_CC="gcc"
-CT_CC_VERSION="4.6.3"
-CT_CC_gcc=y
-# CT_CC_V_4_7_2 is not set
-CT_CC_V_4_6_3=y
-# CT_CC_V_4_6_2 is not set
-# CT_CC_V_4_6_1 is not set
-# CT_CC_V_4_6_0 is not set
-# CT_CC_V_4_5_3 is not set
-# CT_CC_V_4_5_2 is not set
-# CT_CC_V_4_5_1 is not set
-# CT_CC_V_4_5_0 is not set
-# CT_CC_V_4_4_7 is not set
-# CT_CC_V_4_4_6 is not set
-# CT_CC_V_4_4_5 is not set
-# CT_CC_V_4_4_4 is not set
-# CT_CC_V_4_4_3 is not set
-# CT_CC_V_4_4_2 is not set
-# CT_CC_V_4_4_1 is not set
-# CT_CC_V_4_4_0 is not set
-# CT_CC_V_4_3_6 is not set
-# CT_CC_V_4_3_5 is not set
-# CT_CC_V_4_3_4 is not set
-# CT_CC_V_4_3_3 is not set
-# CT_CC_V_4_3_2 is not set
-# CT_CC_V_4_3_1 is not set
-# CT_CC_V_4_2_4 is not set
-# CT_CC_V_4_2_2 is not set
-CT_CC_GCC_4_2_or_later=y
-CT_CC_GCC_4_3_or_later=y
-CT_CC_GCC_4_4_or_later=y
-CT_CC_GCC_4_5_or_later=y
-CT_CC_GCC_4_6=y
-CT_CC_GCC_4_6_or_later=y
-CT_CC_GCC_HAS_GRAPHITE=y
-CT_CC_GCC_HAS_LTO=y
-CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
-CT_CC_GCC_HAS_BUILD_ID=y
-CT_CC_GCC_USE_GMP_MPFR=y
-CT_CC_GCC_USE_PPL_CLOOG=y
-CT_CC_GCC_USE_MPC=y
-CT_CC_GCC_HAS_LIBQUADMATH=y
-# CT_CC_LANG_FORTRAN is not set
-CT_CC_SUPPORT_CXX=y
-CT_CC_SUPPORT_FORTRAN=y
-CT_CC_SUPPORT_JAVA=y
-CT_CC_SUPPORT_ADA=y
-CT_CC_SUPPORT_OBJC=y
-CT_CC_SUPPORT_OBJCXX=y
-
-#
-# Additional supported languages:
-#
-CT_CC_LANG_CXX=y
-# CT_CC_LANG_JAVA is not set
-
-#
-# gcc other options
-#
-CT_CC_ENABLE_CXX_FLAGS=""
-CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
-CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
-CT_CC_STATIC_LIBSTDCXX=y
-
-#
-# Optimisation features
-#
-CT_CC_GCC_USE_GRAPHITE=y
-CT_CC_GCC_USE_LTO=y
-
-#
-# Settings for libraries running on target
-#
-CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
-# CT_CC_GCC_LIBMUDFLAP is not set
-# CT_CC_GCC_LIBGOMP is not set
-# CT_CC_GCC_LIBSSP is not set
-# CT_CC_GCC_LIBQUADMATH is not set
-
-#
-# Misc. obscure options.
-#
-CT_CC_CXA_ATEXIT=y
-# CT_CC_GCC_DISABLE_PCH is not set
-CT_CC_GCC_SJLJ_EXCEPTIONS=m
-CT_CC_GCC_LDBL_128=m
-# CT_CC_GCC_BUILD_ID is not set
-
-#
-# C-library
-#
-CT_LIBC="glibc"
-CT_LIBC_VERSION="2.14.1"
-# CT_LIBC_eglibc is not set
-CT_LIBC_glibc=y
-# CT_LIBC_uClibc is not set
-CT_LIBC_eglibc_AVAILABLE=y
-CT_LIBC_glibc_AVAILABLE=y
-CT_LIBC_GLIBC_V_2_14_1
-# CT_LIBC_GLIBC_V_2_14 is not set
-# CT_LIBC_GLIBC_V_2_13 is not set
-# CT_LIBC_GLIBC_V_2_12_2 is not set
-# CT_LIBC_GLIBC_V_2_12_1 is not set
-# CT_LIBC_GLIBC_V_2_11_1 is not set
-# CT_LIBC_GLIBC_V_2_11 is not set
-# CT_LIBC_GLIBC_V_2_10_1 is not set
-# CT_LIBC_GLIBC_V_2_9 is not set
-# CT_LIBC_GLIBC_V_2_8 is not set
-CT_LIBC_mingw_AVAILABLE=y
-CT_LIBC_newlib_AVAILABLE=y
-CT_LIBC_none_AVAILABLE=y
-CT_LIBC_uClibc_AVAILABLE=y
-CT_LIBC_SUPPORT_THREADS_ANY=y
-CT_LIBC_SUPPORT_NPTL=y
-CT_THREADS="nptl"
-
-#
-# Common C library options
-#
-CT_THREADS_NPTL=y
-CT_LIBC_XLDD=y
-CT_LIBC_GLIBC_MAY_FORCE_PORTS=y
-CT_LIBC_glibc_familly=y
-CT_LIBC_GLIBC_EXTRA_CONFIG_ARRAY=""
-CT_LIBC_GLIBC_CONFIGPARMS=""
-CT_LIBC_GLIBC_EXTRA_CFLAGS=""
-CT_LIBC_EXTRA_CC_ARGS=""
-# CT_LIBC_DISABLE_VERSIONING is not set
-CT_LIBC_OLDEST_ABI=""
-CT_LIBC_GLIBC_FORCE_UNWIND=y
-CT_LIBC_GLIBC_USE_PORTS=y
-CT_LIBC_ADDONS_LIST=""
-# CT_LIBC_LOCALES is not set
-# CT_LIBC_GLIBC_KERNEL_VERSION_NONE is not set
-CT_LIBC_GLIBC_KERNEL_VERSION_AS_HEADERS=y
-# CT_LIBC_GLIBC_KERNEL_VERSION_CHOSEN is not set
-CT_LIBC_GLIBC_MIN_KERNEL="3.6.3"
-
-#
-# glibc other options
-#
-
-#
-# WARNING !!!                                            
-#
-
-#
-#   For glibc >= 2.8, it can happen that the tarballs    
-#
-
-#
-#   for the addons are not available for download.       
-#
-
-#
-#   If that happens, bad luck... Try a previous version  
-#
-
-#
-#   or try again later... :-(                            
-#
-
-#
-# Debug facilities
-#
-# CT_DEBUG_dmalloc is not set
-# CT_DEBUG_duma is not set
-# CT_DEBUG_gdb is not set
-# CT_DEBUG_ltrace is not set
-# CT_DEBUG_strace is not set
-
-#
-# Companion libraries
-#
-CT_COMPLIBS_NEEDED=y
-CT_GMP_NEEDED=y
-CT_MPFR_NEEDED=y
-CT_PPL_NEEDED=y
-CT_CLOOG_NEEDED=y
-CT_MPC_NEEDED=y
-CT_COMPLIBS=y
-CT_GMP=y
-CT_MPFR=y
-CT_PPL=y
-CT_CLOOG=y
-CT_MPC=y
-# CT_GMP_V_5_0_2 is not set
-# CT_GMP_V_5_0_1 is not set
-CT_GMP_V_4_3_2=y
-# CT_GMP_V_4_3_1 is not set
-# CT_GMP_V_4_3_0 is not set
-CT_GMP_VERSION="4.3.2"
-# CT_MPFR_V_3_1_0 is not set
-# CT_MPFR_V_3_0_1 is not set
-# CT_MPFR_V_3_0_0 is not set
-CT_MPFR_V_2_4_2=y
-# CT_MPFR_V_2_4_1 is not set
-# CT_MPFR_V_2_4_0 is not set
-CT_MPFR_VERSION="2.4.2"
-CT_PPL_V_0_11_2=y
-# CT_PPL_V_0_11_1 is not set
-# CT_PPL_V_0_11 is not set
-# CT_PPL_V_0_10_2 is not set
-CT_PPL_VERSION="0.11.2"
-CT_PPL_0_11=y
-CT_PPL_NEEDS_LIBPWL=y
-CT_CLOOG_V_0_15_11=y
-# CT_CLOOG_V_0_15_10 is not set
-# CT_CLOOG_V_0_15_9 is not set
-# CT_CLOOG_V_0_15_8 is not set
-# CT_CLOOG_V_0_15_7 is not set
-# CT_CLOOG_V_0_15_6 is not set
-CT_CLOOG_VERSION="0.15.11"
-CT_CLOOG_0_15_1x=y
-CT_CLOOG_NEEDS_AUTORECONF=y
-CT_MPC_V_0_9=y
-# CT_MPC_V_0_8_2 is not set
-# CT_MPC_V_0_8_1 is not set
-# CT_MPC_V_0_7 is not set
-CT_MPC_VERSION="0.9"
-
-#
-# Companion libraries common options
-#
-# CT_COMPLIBS_CHECK is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc b/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
deleted file mode 100644
index 4f21263..0000000
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.config-uClibc
+++ /dev/null
@@ -1,473 +0,0 @@ 
-#
-# Automatically generated make config: don't edit
-# crosstool-NG 1.17.0 Configuration
-# Sat Dec  8 12:50:22 2012
-#
-CT_CONFIGURE_has_xz=y
-CT_CONFIGURE_has_svn=y
-CT_MODULES=y
-
-#
-# Paths and misc options
-#
-
-#
-# crosstool-NG behavior
-#
-# CT_OBSOLETE is not set
-# CT_EXPERIMENTAL is not set
-# CT_DEBUG_CT is not set
-
-#
-# Paths
-#
-CT_LOCAL_TARBALLS_DIR=""
-CT_WORK_DIR="${CT_TOP_DIR}/.build"
-CT_PREFIX_DIR=""
-CT_INSTALL_DIR="${CT_PREFIX_DIR}"
-CT_RM_RF_PREFIX_DIR=y
-CT_REMOVE_DOCS=y
-# CT_INSTALL_DIR_RO is not set
-# CT_STRIP_ALL_TOOLCHAIN_EXECUTABLES is not set
-
-#
-# Downloading
-#
-# CT_FORBID_DOWNLOAD is not set
-# CT_FORCE_DOWNLOAD is not set
-CT_CONNECT_TIMEOUT=10
-# CT_ONLY_DOWNLOAD is not set
-# CT_USE_MIRROR is not set
-
-#
-# Extracting
-#
-# CT_FORCE_EXTRACT is not set
-CT_OVERIDE_CONFIG_GUESS_SUB=y
-# CT_ONLY_EXTRACT is not set
-CT_PATCH_BUNDLED=y
-# CT_PATCH_LOCAL is not set
-# CT_PATCH_BUNDLED_LOCAL is not set
-# CT_PATCH_LOCAL_BUNDLED is not set
-# CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
-# CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
-# CT_PATCH_NONE is not set
-CT_PATCH_ORDER="bundled"
-
-#
-# Build behavior
-#
-CT_PARALLEL_JOBS=0
-CT_LOAD=0
-CT_USE_PIPES=y
-CT_EXTRA_FLAGS_FOR_HOST=""
-# CT_CONFIG_SHELL_SH is not set
-# CT_CONFIG_SHELL_ASH is not set
-CT_CONFIG_SHELL_BASH=y
-# CT_CONFIG_SHELL_CUSTOM is not set
-CT_CONFIG_SHELL="${bash}"
-
-#
-# Logging
-#
-# CT_LOG_ERROR is not set
-# CT_LOG_WARN is not set
-# CT_LOG_INFO is not set
-# CT_LOG_EXTRA is not set
-CT_LOG_ALL=y
-# CT_LOG_DEBUG is not set
-CT_LOG_LEVEL_MAX="ALL"
-# CT_LOG_SEE_TOOLS_WARN is not set
-CT_LOG_TO_FILE=y
-CT_LOG_FILE_COMPRESS=y
-
-#
-# Target options
-#
-CT_ARCH="arm"
-CT_ARCH_SUPPORTS_BOTH_MMU=y
-CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
-CT_ARCH_SUPPORTS_32=y
-CT_ARCH_SUPPORTS_WITH_ARCH=y
-CT_ARCH_SUPPORTS_WITH_CPU=y
-CT_ARCH_SUPPORTS_WITH_TUNE=y
-CT_ARCH_SUPPORTS_WITH_FLOAT=y
-CT_ARCH_SUPPORTS_WITH_FPU=y
-CT_ARCH_SUPPORTS_SOFTFP=y
-CT_ARCH_DEFAULT_HAS_MMU=y
-CT_ARCH_DEFAULT_LE=y
-CT_ARCH_DEFAULT_32=y
-CT_ARCH_ARCH=""
-CT_ARCH_CPU=""
-CT_ARCH_TUNE=""
-CT_ARCH_FPU=""
-# CT_ARCH_BE is not set
-CT_ARCH_LE=y
-CT_ARCH_32=y
-CT_ARCH_BITNESS=32
-# CT_ARCH_FLOAT_HW is not set
-CT_ARCH_FLOAT_SW=y
-CT_TARGET_CFLAGS=""
-CT_TARGET_LDFLAGS=""
-# CT_ARCH_alpha is not set
-CT_ARCH_arm=y
-# CT_ARCH_avr32 is not set
-# CT_ARCH_blackfin is not set
-# CT_ARCH_mips is not set
-# CT_ARCH_powerpc is not set
-# CT_ARCH_sh is not set
-# CT_ARCH_sparc is not set
-# CT_ARCH_x86 is not set
-CT_ARCH_alpha_AVAILABLE=y
-CT_ARCH_arm_AVAILABLE=y
-CT_ARCH_avr32_AVAILABLE=y
-CT_ARCH_blackfin_AVAILABLE=y
-CT_ARCH_m68k_AVAILABLE=y
-CT_ARCH_microblaze_AVAILABLE=y
-CT_ARCH_mips_AVAILABLE=y
-CT_ARCH_powerpc_AVAILABLE=y
-CT_ARCH_s390_AVAILABLE=y
-CT_ARCH_sh_AVAILABLE=y
-CT_ARCH_sparc_AVAILABLE=y
-CT_ARCH_x86_AVAILABLE=y
-
-#
-# Generic target options
-#
-CT_ARCH_USE_MMU=y
-CT_ARCH_ENDIAN="little"
-
-#
-# Target optimisations
-#
-# CT_ARCH_FLOAT_SOFTFP is not set
-CT_ARCH_FLOAT="soft"
-
-#
-# arm other options
-#
-CT_ARCH_ARM_MODE="arm"
-CT_ARCH_ARM_MODE_ARM=y
-CT_ARCH_ARM_EABI=y
-
-#
-# Toolchain options
-#
-
-#
-# General toolchain options
-#
-CT_FORCE_SYSROOT=y
-CT_USE_SYSROOT=y
-CT_SYSROOT_NAME="sysroot"
-CT_SYSROOT_DIR_PREFIX=""
-CT_WANTS_STATIC_LINK=y
-CT_TOOLCHAIN_PKGVERSION=""
-CT_TOOLCHAIN_BUGURL=""
-
-#
-# Tuple completion and aliasing
-#
-CT_TARGET_VENDOR="unknown"
-CT_TARGET_ALIAS_SED_EXPR=""
-CT_TARGET_ALIAS=""
-
-#
-# Toolchain type
-#
-CT_CROSS=y
-CT_TOOLCHAIN_TYPE="cross"
-
-#
-# Build system
-#
-CT_BUILD=""
-CT_BUILD_PREFIX=""
-CT_BUILD_SUFFIX=""
-
-#
-# Misc options
-#
-# CT_TOOLCHAIN_ENABLE_NLS is not set
-
-#
-# Operating System
-#
-CT_KERNEL_SUPPORTS_SHARED_LIBS=y
-CT_KERNEL="linux"
-CT_KERNEL_VERSION="3.6.3"
-# CT_KERNEL_bare_metal is not set
-CT_KERNEL_linux=y
-CT_KERNEL_bare_metal_AVAILABLE=y
-CT_KERNEL_linux_AVAILABLE=y
-CT_KERNEL_V_3_6_3=y
-# CT_KERNEL_V_3_6_2 is not set
-# CT_KERNEL_V_3_6_1 is not set
-# CT_KERNEL_V_3_6 is not set
-# CT_KERNEL_V_3_5_7 is not set
-# CT_KERNEL_V_3_4_15 is not set
-# CT_KERNEL_V_3_3_8 is not set
-# CT_KERNEL_V_3_2_32 is not set
-# CT_KERNEL_V_3_1_10 is not set
-# CT_KERNEL_V_3_0_48 is not set
-# CT_KERNEL_V_2_6_39_4 is not set
-# CT_KERNEL_V_2_6_38_8 is not set
-# CT_KERNEL_V_2_6_37_6 is not set
-# CT_KERNEL_V_2_6_36_4 is not set
-# CT_KERNEL_V_2_6_33_20 is not set
-# CT_KERNEL_V_2_6_32_60 is not set
-# CT_KERNEL_V_2_6_31_14 is not set
-# CT_KERNEL_V_2_6_27_62 is not set
-# CT_KERNEL_LINUX_CUSTOM is not set
-CT_KERNEL_mingw32_AVAILABLE=y
-
-#
-# Common kernel options
-#
-CT_SHARED_LIBS=y
-
-#
-# linux other options
-#
-CT_KERNEL_LINUX_VERBOSITY_0=y
-# CT_KERNEL_LINUX_VERBOSITY_1 is not set
-# CT_KERNEL_LINUX_VERBOSITY_2 is not set
-CT_KERNEL_LINUX_VERBOSE_LEVEL=0
-CT_KERNEL_LINUX_INSTALL_CHECK=y
-
-#
-# Binary utilities
-#
-CT_ARCH_BINFMT_ELF=y
-
-#
-# GNU binutils
-#
-# CT_BINUTILS_V_2_21_1a is not set
-CT_BINUTILS_V_2_20_1a=y
-# CT_BINUTILS_V_2_19_1a is not set
-# CT_BINUTILS_V_2_18a is not set
-CT_BINUTILS_VERSION="2.20.1a"
-CT_BINUTILS_2_20_or_later=y
-CT_BINUTILS_2_19_or_later=y
-CT_BINUTILS_2_18_or_later=y
-CT_BINUTILS_HAS_HASH_STYLE=y
-CT_BINUTILS_GOLD_SUPPORTS_ARCH=y
-CT_BINUTILS_HAS_PKGVERSION_BUGURL=y
-CT_BINUTILS_LINKER_LD=y
-CT_BINUTILS_LINKERS_LIST="ld"
-CT_BINUTILS_LINKER_DEFAULT="bfd"
-CT_BINUTILS_EXTRA_CONFIG_ARRAY=""
-# CT_BINUTILS_FOR_TARGET is not set
-
-#
-# C compiler
-#
-CT_CC="gcc"
-CT_CC_VERSION="4.6.3"
-CT_CC_gcc=y
-# CT_CC_V_4_7_2 is not set
-CT_CC_V_4_6_3=y
-# CT_CC_V_4_6_2 is not set
-# CT_CC_V_4_6_1 is not set
-# CT_CC_V_4_6_0 is not set
-# CT_CC_V_4_5_3 is not set
-# CT_CC_V_4_5_2 is not set
-# CT_CC_V_4_5_1 is not set
-# CT_CC_V_4_5_0 is not set
-# CT_CC_V_4_4_7 is not set
-# CT_CC_V_4_4_6 is not set
-# CT_CC_V_4_4_5 is not set
-# CT_CC_V_4_4_4 is not set
-# CT_CC_V_4_4_3 is not set
-# CT_CC_V_4_4_2 is not set
-# CT_CC_V_4_4_1 is not set
-# CT_CC_V_4_4_0 is not set
-# CT_CC_V_4_3_6 is not set
-# CT_CC_V_4_3_5 is not set
-# CT_CC_V_4_3_4 is not set
-# CT_CC_V_4_3_3 is not set
-# CT_CC_V_4_3_2 is not set
-# CT_CC_V_4_3_1 is not set
-# CT_CC_V_4_2_4 is not set
-# CT_CC_V_4_2_2 is not set
-CT_CC_GCC_4_2_or_later=y
-CT_CC_GCC_4_3_or_later=y
-CT_CC_GCC_4_4_or_later=y
-CT_CC_GCC_4_5_or_later=y
-CT_CC_GCC_4_6=y
-CT_CC_GCC_4_6_or_later=y
-CT_CC_GCC_HAS_GRAPHITE=y
-CT_CC_GCC_HAS_LTO=y
-CT_CC_GCC_HAS_PKGVERSION_BUGURL=y
-CT_CC_GCC_HAS_BUILD_ID=y
-CT_CC_GCC_USE_GMP_MPFR=y
-CT_CC_GCC_USE_PPL_CLOOG=y
-CT_CC_GCC_USE_MPC=y
-CT_CC_GCC_HAS_LIBQUADMATH=y
-# CT_CC_LANG_FORTRAN is not set
-CT_CC_SUPPORT_CXX=y
-CT_CC_SUPPORT_FORTRAN=y
-CT_CC_SUPPORT_JAVA=y
-CT_CC_SUPPORT_ADA=y
-CT_CC_SUPPORT_OBJC=y
-CT_CC_SUPPORT_OBJCXX=y
-
-#
-# Additional supported languages:
-#
-CT_CC_LANG_CXX=y
-# CT_CC_LANG_JAVA is not set
-
-#
-# gcc other options
-#
-CT_CC_ENABLE_CXX_FLAGS=""
-CT_CC_CORE_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
-CT_CC_EXTRA_CONFIG_ARRAY="--disable-decimal-float"
-CT_CC_STATIC_LIBSTDCXX=y
-
-#
-# Optimisation features
-#
-CT_CC_GCC_USE_GRAPHITE=y
-CT_CC_GCC_USE_LTO=y
-
-#
-# Settings for libraries running on target
-#
-CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
-# CT_CC_GCC_LIBMUDFLAP is not set
-# CT_CC_GCC_LIBGOMP is not set
-# CT_CC_GCC_LIBSSP is not set
-# CT_CC_GCC_LIBQUADMATH is not set
-
-#
-# Misc. obscure options.
-#
-CT_CC_CXA_ATEXIT=y
-# CT_CC_GCC_DISABLE_PCH is not set
-CT_CC_GCC_SJLJ_EXCEPTIONS=m
-CT_CC_GCC_LDBL_128=m
-# CT_CC_GCC_BUILD_ID is not set
-
-#
-# C-library
-#
-CT_LIBC="uClibc"
-CT_LIBC_VERSION="0.9.33.2"
-# CT_LIBC_eglibc is not set
-# CT_LIBC_glibc is not set
-CT_LIBC_uClibc=y
-CT_LIBC_eglibc_AVAILABLE=y
-CT_LIBC_glibc_AVAILABLE=y
-CT_LIBC_mingw_AVAILABLE=y
-CT_LIBC_newlib_AVAILABLE=y
-CT_LIBC_none_AVAILABLE=y
-CT_LIBC_uClibc_AVAILABLE=y
-CT_LIBC_UCLIBC_V_0_9_33_2=y
-# CT_LIBC_UCLIBC_V_0_9_33_1 is not set
-# CT_LIBC_UCLIBC_V_0_9_33 is not set
-# CT_LIBC_UCLIBC_V_0_9_32_1 is not set
-# CT_LIBC_UCLIBC_V_0_9_32 is not set
-# CT_LIBC_UCLIBC_V_0_9_30_3 is not set
-# CT_LIBC_UCLIBC_V_0_9_30_2 is not set
-# CT_LIBC_UCLIBC_V_0_9_30_1 is not set
-# CT_LIBC_UCLIBC_V_0_9_30 is not set
-CT_LIBC_UCLIBC_0_9_32_or_later=y
-CT_LIBC_UCLIBC_0_9_30_or_later=y
-CT_LIBC_UCLIBC_PARALLEL=y
-CT_LIBC_UCLIBC_VERBOSITY_0=y
-# CT_LIBC_UCLIBC_VERBOSITY_1 is not set
-# CT_LIBC_UCLIBC_VERBOSITY_2 is not set
-CT_LIBC_UCLIBC_VERBOSITY=""
-CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
-# CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
-# CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
-# CT_LIBC_UCLIBC_DEBUG_LEVEL_3 is not set
-CT_LIBC_UCLIBC_DEBUG_LEVEL=0
-CT_LIBC_UCLIBC_CONFIG_FILE=""
-CT_LIBC_SUPPORT_THREADS_ANY=y
-CT_LIBC_SUPPORT_NPTL=y
-CT_LIBC_SUPPORT_LINUXTHREADS=y
-CT_LIBC_SUPPORT_THREADS_NONE=y
-CT_THREADS="nptl"
-
-#
-# Common C library options
-#
-CT_THREADS_NPTL=y
-# CT_THREADS_LINUXTHREADS is not set
-# CT_THREADS_NONE is not set
-CT_LIBC_XLDD=y
-
-#
-# uClibc other options
-#
-CT_LIBC_UCLIBC_LNXTHRD=""
-# CT_LIBC_UCLIBC_LOCALES is not set
-CT_LIBC_UCLIBC_WCHAR=y
-
-#
-# Debug facilities
-#
-# CT_DEBUG_dmalloc is not set
-# CT_DEBUG_duma is not set
-# CT_DEBUG_gdb is not set
-# CT_DEBUG_ltrace is not set
-# CT_DEBUG_strace is not set
-
-#
-# Companion libraries
-#
-CT_COMPLIBS_NEEDED=y
-CT_GMP_NEEDED=y
-CT_MPFR_NEEDED=y
-CT_PPL_NEEDED=y
-CT_CLOOG_NEEDED=y
-CT_MPC_NEEDED=y
-CT_COMPLIBS=y
-CT_GMP=y
-CT_MPFR=y
-CT_PPL=y
-CT_CLOOG=y
-CT_MPC=y
-# CT_GMP_V_5_0_2 is not set
-# CT_GMP_V_5_0_1 is not set
-CT_GMP_V_4_3_2=y
-# CT_GMP_V_4_3_1 is not set
-# CT_GMP_V_4_3_0 is not set
-CT_GMP_VERSION="4.3.2"
-# CT_MPFR_V_3_1_0 is not set
-# CT_MPFR_V_3_0_1 is not set
-# CT_MPFR_V_3_0_0 is not set
-CT_MPFR_V_2_4_2=y
-# CT_MPFR_V_2_4_1 is not set
-# CT_MPFR_V_2_4_0 is not set
-CT_MPFR_VERSION="2.4.2"
-CT_PPL_V_0_11_2=y
-# CT_PPL_V_0_11_1 is not set
-# CT_PPL_V_0_11 is not set
-# CT_PPL_V_0_10_2 is not set
-CT_PPL_VERSION="0.11.2"
-CT_PPL_0_11=y
-CT_PPL_NEEDS_LIBPWL=y
-CT_CLOOG_V_0_15_11=y
-# CT_CLOOG_V_0_15_10 is not set
-# CT_CLOOG_V_0_15_9 is not set
-# CT_CLOOG_V_0_15_8 is not set
-# CT_CLOOG_V_0_15_7 is not set
-# CT_CLOOG_V_0_15_6 is not set
-CT_CLOOG_VERSION="0.15.11"
-CT_CLOOG_0_15_1x=y
-CT_CLOOG_NEEDS_AUTORECONF=y
-CT_MPC_V_0_9=y
-# CT_MPC_V_0_8_2 is not set
-# CT_MPC_V_0_8_1 is not set
-# CT_MPC_V_0_7 is not set
-CT_MPC_VERSION="0.9"
-
-#
-# Companion libraries common options
-#
-# CT_COMPLIBS_CHECK is not set
diff --git a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk b/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
deleted file mode 100644
index 19e8761..0000000
--- a/toolchain/toolchain-crosstool-ng/crosstool-ng.mk
+++ /dev/null
@@ -1,396 +0,0 @@ 
-# Makefile fragment for building toolchain with crosstool-NG
-
-# As a reference, you can look at toolchain/toolchain-external/ext-tool.mk
-# for a generic approach to external toolchains.
-# crosstool-NG as a backend is but a kind of external toolchains,
-# except that it is not pre-built.
-
-#-----------------------------------------------------------------------------
-# Internal variables
-
-CTNG_DIR := $(BUILD_DIR)/build-toolchain
-
-CTNG_UCLIBC_CONFIG_FILE := $(TOPDIR)/package/uclibc/uClibc-0.9.33.config
-CTNG_CONFIG_FILE := $(call qstrip,$(BR2_TOOLCHAIN_CTNG_CONFIG))
-
-# Hack! ct-ng is in fact a Makefile script. As such, it accepts all
-# make options, such as -C, which makes it uneeded to chdir prior
-# to calling ct-ng.
-# $1: the set of arguments to pass to ct-ng
-define ctng
-PATH=$(HOST_PATH) ct-ng -C $(CTNG_DIR) --no-print-directory $(1)
-endef
-
-#-----------------------------------------------------------------------------
-toolchain-crosstool-ng: dependencies $(STAMP_DIR)/ct-ng-toolchain-installed
-
-# The target used by the infra structure to mean "we just want to
-# download the toolchain's sources, not build it" For crosstool-NG, we
-# need it to be configured before we can download; then we have to
-# override a config option to just do the download
-toolchain-crosstool-ng-source: $(CTNG_DIR)/.config
-	$(Q)$(call ctng,build CT_ONLY_DOWNLOAD=y)
-
-#-----------------------------------------------------------------------------
-# Installing the libs to target/ and staging/
-
-#--------------
-# The generic system libraries (in /lib)
-CTNG_LIBS_LIB := ld*.so libc.so libcrypt.so libdl.so libgcc_s.so libm.so    \
-                 libnsl.so libpthread.so libresolv.so librt.so libutil.so
-
-ifeq ($(BR2_PACKAGE_GDB_SERVER),y)
-CTNG_LIBS_LIB += libthread_db.so
-endif
-
-#--------------
-# The libc-specific system libraries (in /lib)
-# Note: it may be needed to tweak the NSS libs in the glibc and eglibc cases...
-CTNG_LIBS_uClibc :=
-CTNG_LIBS_glibc  := libnss_files.so libnss_dns.so
-CTNG_LIBS_eglibc := $(CTNG_LIBS_glibc)
-
-#--------------
-# All that we need in /lib
-CTNG_LIBS_LIB += $(CTNG_LIBS_$(call qstrip,$(BR2_TOOLCHAIN_CTNG_LIBC)))
-
-#--------------
-# All that we need in /usr/lib
-ifneq ($(BR2_INSTALL_LIBSTDCPP),)
-CTNG_LIBS_USR_LIB += libstdc++.so
-endif
-
-#--------------
-# Actual copy
-$(STAMP_DIR)/ct-ng-toolchain-installed: $(STAMP_DIR)/ct-ng-toolchain-built
-	$(Q)mkdir -p $(TARGET_DIR)/lib
-	$(Q)CTNG_TUPLE="$$( $(call ctng,show-tuple 2>&1) )";                \
-	    CTNG_SYSROOT="$(HOST_DIR)/usr/$${CTNG_TUPLE}/sysroot";          \
-	    $(call MESSAGE,"Copying toolchain libraries to target...");     \
-	    for libs in $(CTNG_LIBS_LIB); do                                \
-	        $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/lib); \
-	    done;                                                           \
-	    for libs in $(CTNG_LIBS_USR_LIB); do                            \
-	        $(call copy_toolchain_lib_root,$${CTNG_SYSROOT},,lib,$$libs,/usr/lib); \
-	    done;
-	$(Q)touch $@
-
-#-----------------------------------------------------------------------------
-# Building the toolchain
-# Note: $(STAMP_DIR)/ct-ng-toolchain-built can have more dependencies,
-#       depending on the selected C library. Those deps are added later
-
-$(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/.config
-	$(Q)$(call MESSAGE,"Building the crosstool-NG toolchain")
-	$(Q)$(call ctng,build.$(PARALLEL_JOBS))
-	$(Q)printf "\n"
-	$(Q)touch $@
-
-#-----------------------------------------------------------------------------
-# Configuring the toolchain
-
-#--------------
-# We push BR options down to CT-NG, munging the default configuration
-# with sed expressions.
-# - first one for non-path options
-# - second for path options (because they have no prompt, they
-#                            always get set to the default value)
-# - third for C library .config (if it has one, eg. uClibc)
-CTNG_FIX_BUILDROOT_CONFIG_SED       :=
-CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED :=
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED  :=
-
-#--------------
-# A few generic functions
-
-# Munge a config file, given a sed expression
-# $1: the .config file to munge
-# $2: the sed expression to apply
-define ctng-fix-dot-config
-	$(Q)sed -r -e '$(2)' $(1) >$(1).sed
-	$(Q)cmp $(1) $(1).sed >/dev/null 2>&1 && rm -f $(1).sed || mv -f $(1).sed $(1)
-endef
-
-# This function checks the .config did actually change
-# If not changed, then current .config will be touched with reference to the
-# stamp file. If the configuration did change, nothing is done.
-# $1: the current .config to check
-# $2: the time-stamped .config file
-define ctng-check-config-changed
-	$(Q)old_md5="$$( grep -v -E '^(#|$$)' $(2) 2>/dev/null  \
-	                 |md5sum                                \
-	                 |cut -d ' ' -f 1                       \
-	               )";                                      \
-	    new_md5="$$( grep -v -E '^(#|$$)' $(1) 2>/dev/null  \
-	                 |md5sum                                \
-	                 |cut -d ' ' -f 1                       \
-	               )";                                      \
-	    if [ $${old_md5} = $${new_md5} -a -f $(2) ]; then   \
-	        touch -r $(2) $(1);                             \
-	    fi
-endef
-
-#--------------
-# Massage BR2_ARCH so that it matches CT-NG's ARCH
-#
-# Note: a lot of the following tricks would become unneeded if one day
-# buildroot and crosstool-NG had matching options, especially for the
-# target description: arch name, bitness, endianness...
-#
-# Note-2: missing conformity check between BR's .config and libc features.
-# Use check_uclibc or check_glibc.
-
-# Defaults:
-CTNG_ARCH   := $(CTNG_BR2_ARCH)
-CTNG_ENDIAN :=
-CTNG_BIT    :=
-# Architecture overides, only overide pertinent vars:
-ifeq      ($(BR2_arm),y)
-CTNG_ARCH   := arm
-CTNG_ENDIAN := LE
-else ifeq ($(BR2_armeb),y)
-CTNG_ARCH   := arm
-CTNG_ENDIAN := BE
-else ifeq ($(BR2_i386),y)
-CTNG_ARCH   := x86
-CTNG_BIT    := 32
-else ifeq ($(BR2_mips),y)
-CTNG_ARCH   := mips
-CTNG_ENDIAN := BE
-else ifeq ($(BR2_mipsel),y)
-CTNG_ARCH   := mips
-CTNG_ENDIAN := LE
-else ifeq ($(BR2_powerpc),y)
-CTNG_ARCH   := powerpc
-CTNG_BIT    := 32
-else ifeq ($(BR2_x86_64),y)
-CTNG_ARCH   := x86
-CTNG_BIT    := 64
-# Add other architecture overides below:
-#  - keep alphabetic order
-#  - duplicate next 4 lines, and uncomment
-#       else ifeq ($(BR2_<arch_name_here>),y)
-#       CTNG_ARCH   :=
-#       CTNG_ENDIAN :=
-#       CTNG_BIT    :=
-#  - remove unneeded vars
-#  - add BR arch-name on ifeq line
-#  - fill-in required CTNG_* vars
-endif
-
-#--------------
-# Massage BR options into CTNG .config file
-# CT_ARCH                   : handled by the backend mechanism
-# CT_ARCH_[BL]E             : endianness
-# CT_ARCH_(32|64)           : bitness
-# CT_PREFIX_DIR             : install into BR's toolchain dir
-# CT_INSTALL_DIR_RO         : do *not* chmod a-w the toolchain dir
-# CT_LOCAL_TARBALLS_DIR     : share downloads with BR
-# CT_SYSROOT_DIR_PREFIX     : no prefix needed, really
-# CT_TARGET_VENDOR          : try to set a unique vendor string, to avoid clashing with BR's vendor string
-# CT_TARGET_ALIAS           : set the target tuple alias to GNU_TARGET_NAME so that packages' ./configure find the compiler
-# CT_DEBUG_gdb              : deselect gdb+gdbserver if buildroot builds its own
-# CT_CC_LANG_CXX            : required if we copy libstdc++.so, and build C++
-# CT_LIBC_UCLIBC_CONFIG_FILE: uClibc config file, if needed
-#
-# Lots of other awfull sed manipulations go here, to override CT-NG's .config
-# with BR2 config options.
-# Known missing: arch options, uClibc/eglibc config...
-#
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_INSTALL_DIR_RO)=y:\# \1 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_ARCH_[BL]E).*:\# \2 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_ENDIAN)) is not set:\1=y:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_ARCH_(32|64)).*:\# \2 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_$(CTNG_BIT)) is not set:\1=y:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_TARGET_VENDOR)=.*:\1="buildroot":;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_TARGET_ALIAS)=.*:\1="$(ARCH)-linux":;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_TOOLCHAIN_PKGVERSION)="(.*)":\1="buildroot $(BR2_VERSION_FULL)":;
-ifneq ($(call qstrip,$(BR2_USE_MMU)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_USE_MMU) is not set:\1=y:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_USE_MMU)=y:\# \1 is not set:;
-endif
-ifneq ($(call qstrip,$(BR2_PACKAGE_GDB_SERVER))$(call qstrip,$(BR2_PACKAGE_GDB_HOST)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_DEBUG_gdb)=.*:\# \1 is not set:;
-endif
-ifeq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_CXX)),y)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_CC_LANG_CXX) is not set:\1=y:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_CC_LANG_CXX)=.*:\# \1 is not set:;
-endif
-
-# Shoe-horn CPU variant now
-ifneq ($(call qstrip,$(BR2_GCC_TARGET_ARCH)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_ARCH)=.*:\1=$(BR2_GCC_TARGET_ARCH):;
-endif
-ifneq ($(call qstrip,$(BR2_GCC_TARGET_TUNE)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_TUNE)=.*:\1=$(BR2_GCC_TARGET_TUNE):;
-endif
-
-# And floating point now
-ifeq ($(call qstrip,$(BR2_SOFT_FLOAT)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_FLOAT_HW) is not set:\1=y:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_FLOAT_SW)=y:\# \1 is not set:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_ARCH_FLOAT_HW)=y:\# \1 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_ARCH_FLOAT_SW) is not set:\1=y:;
-endif
-
-# Thread implementation selection
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NONE).*:\# \2 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_LINUXTHREADS).*:\# \2 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NPTL).*:\# \2 is not set:;
-ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS))$(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS_OLD)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_LINUXTHREADS).*:\2=y:;
- ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc)),)
-  ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_PTHREADS_OLD)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_NEW).*:\# \2 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_OLD).*:\2=y:;
-  else
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_OLD).*:\# \2 is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_LIBC_UCLIBC_LNXTHRD_NEW).*:\2=y:;
-  endif
- endif
-else ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_NPTL)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NPTL).*:\2=y:;
-else ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_THREADS_NONE)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(|\# )(CT_THREADS_NONE).*:\2=y:;
-endif
-
-#--------------
-# And the specials for paths
-CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_PREFIX_DIR)=.*:\1="$(HOST_DIR)/usr":;
-CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_LOCAL_TARBALLS_DIR)=.*:\1="$(DL_DIR)":;
-CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_NAME)=.*:\1="sysroot":;
-CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_SYSROOT_DIR_PREFIX)=.*:\1="":;
-
-#--------------
-# uClibc specific options
-ifeq ($(BR2_TOOLCHAIN_CTNG_uClibc),y)
-
-# Handle the locales option
-ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_LOCALE)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_LIBC_UCLIBC_LOCALES) is not set:\1=y\n\# CT_LIBC_UCLIBC_LOCALES_PREGEN_DATA is not set:;
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_LOCALES_PREGEN_DATA)=.*:\# \1 is not set:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_LOCALES)=.*:\# \1 is not set:;
-endif
-
-# Handle the wide-char option
-ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_WCHAR)),)
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_LIBC_UCLIBC_WCHAR) is not set:\1=y:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_UCLIBC_WCHAR)=.*:\# \1 is not set:;
-endif
-
-# Handle the LFS option
-ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_LARGEFILE)),)
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_LFS) is not set:\1=y:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_LFS)=.*:\# \1 is not set:;
-endif
-
-# Handle the IPv6 option
-ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_INET_IPV6)),)
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_IPV6) is not set:\1=y:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_IPV6)=.*:\# \1 is not set:;
-endif
-
-# Handle the RPC option
-ifneq ($(call qstrip,$(BR2_TOOLCHAIN_CTNG_uClibc_INET_RPC)),)
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_RPC) is not set:\1=y\nUCLIBC_HAS_FULL_RPC=y\nUCLIBC_HAS_REENTRANT_RPC=y:;
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_FULL_RPC) is not set:\1=y:;
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^\# (UCLIBC_HAS_REENTRANT_RPC) is not set:\1=y:;
-else
-CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED += s:^(UCLIBC_HAS_RPC)=.*:\# \1 is not set:;
-endif
-
-# Instruct CT-NG's .config where to find the uClibc's .config
-CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED += s:^(CT_LIBC_UCLIBC_CONFIG_FILE)=.*:\1="$(CTNG_DIR)/libc.config":;
-
-# And add this to the toolchain build dependency
-$(STAMP_DIR)/ct-ng-toolchain-built: $(CTNG_DIR)/libc.config
-
-# And here is how we get this uClibc's .config
-$(CTNG_DIR)/libc.config: $(CTNG_UCLIBC_CONFIG_FILE) $(BUILDROOT_CONFIG)
-	-$(Q)cp -a $@ $@.timestamp
-	$(Q)cp -f $< $@
-	$(call ctng-fix-dot-config,$@,$(CTNG_FIX_BUILDROOT_CONFIG_LIBC_SED))
-	$(call ctng-check-config-changed,$@,$@.timestamp)
-	$(Q)rm -f $@.timestamp
-
-endif # LIBC is uClibc
-
-#--------------
-# glibc/eglibc specific options
-ifeq ($(BR2_TOOLCHAIN_CTNG_glibc)$(BR2_TOOLCHAIN_CTNG_eglibc),y)
-
-# Force unwind support
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^\# (CT_LIBC_GLIBC_FORCE_UNWIND) is not set:\1=y:;
-
-# Force non-fortified build
-CTNG_FIX_BUILDROOT_CONFIG_SED += s:^(CT_LIBC_ENABLE_FORTIFIED_BUILD)=y:\# \1 is not set:;
-
-endif # LIBC is glibc or eglibc
-
-#--------------
-# Small functions to shoe-horn the above into crosstool-NG's .config
-
-# Function to update the .config
-# We first munge the .config to shoe-horn defaults, then we push that unto
-# crosstool-NG's oldconfig process, to sort out wizy-wazy deps, and then we
-# shoe-horn paths again, as they get ripped-out by oldconfig (is that a bug
-# or a feature of kconfig?)
-# $1: the .config file to munge
-define ctng-oldconfig
-	$(call ctng-fix-dot-config,$(1),$(CTNG_FIX_BUILDROOT_CONFIG_SED))
-	$(Q)yes ''                                             |\
-	$(call ctng,CT_IS_A_BACKEND=y                           \
-	            CT_BACKEND_ARCH=$(CTNG_ARCH)                \
-	            CT_BACKEND_KERNEL=linux                     \
-	            CT_BACKEND_LIBC=$(BR2_TOOLCHAIN_CTNG_LIBC)  \
-	            oldconfig                                   )
-	$(call ctng-fix-dot-config,$(1),$(CTNG_FIX_BUILDROOT_CONFIG_PATHS_SED))
-endef
-
-# We need the host crosstool-NG before we can even begin working
-# on the toolchain. Using order-only dependency, as we do not want
-# to rebuild the toolchain for every run...
-$(CTNG_DIR)/.config: | host-crosstool-ng
-
-# Default configuration
-# Only copy the original .config file if we don't have one already.
-# Check that given config file matches selected C library.
-# We need to call oldconfig twice in a row to ensure the options
-# are correctly set ( eg. if an option is new, then the initial sed
-# can't do anything about it ) Ideally, this should go in oldconfig
-# itself, but it's much easier to handle here.
-$(CTNG_DIR)/.config:
-	$(Q)if [ ! -f $@ ]; then                                                        \
-	        mkdir -p "$(CTNG_DIR)";                                                 \
-	        libc="$$(awk -F '"' '$$1=="CT_LIBC=" { print $$2; }'                    \
-	                        "$(CTNG_CONFIG_FILE)"                                   \
-	                )";                                                             \
-	        if [ "$${libc}" != "$(BR2_TOOLCHAIN_CTNG_LIBC)" ]; then                 \
-	            echo "* Inconsistency in crosstool-NG config file '$(CTNG_CONFIG_FILE)'"; \
-	            echo "* - buildroot configured for '$(BR2_TOOLCHAIN_CTNG_LIBC)'";   \
-	            echo "* - given config file for '$${libc}'";                        \
-	            exit 1;                                                             \
-	        fi;                                                                     \
-	        cp -f $(CTNG_CONFIG_FILE) $@;                                                            \
-	    fi
-	$(call ctng-oldconfig,$@)
-	$(call ctng-oldconfig,$@)
-
-# Manual configuration
-ctng-menuconfig: $(CTNG_DIR)/.config
-	$(Q)cp -a $< $<.timestamp
-	$(Q)$(call ctng,CT_IS_A_BACKEND=y                           \
-	                CT_BACKEND_ARCH=$(CTNG_ARCH)                \
-	                CT_BACKEND_KERNEL=linux                     \
-	                CT_BACKEND_LIBC=$(BR2_TOOLCHAIN_CTNG_LIBC)  \
-	                menuconfig                                  )
-	$(call ctng-oldconfig,$<)
-	$(call ctng-check-config-changed,$<,$<.timestamp)
-	$(Q)rm -f $<.timestamp