buildrootschalter/toolchain
Peter Korsgaard 51f5f62754 External toolchain support improvements
Improve external toolchain support

 * Do not put kernel-headers in the dependencies of BASE_TARGETS in
   the case where BR2_TOOLCHAIN_SOURCE is not y. The kernel headers
   are already supposed to be part of the external toolchain, so
   there's no need to download, extract and install them.

 * In the configuration system, don't display the kernel headers
   version selection list when an external toolchain is selected. This
   is implemented by moving the source
   "toolchain/kernel-headers/Config.in" inside the if
   BR2_TOOLCHAIN_SOURCE in toolchain/Config.in.2.

 * Change the description and help message of the BR2_LARGEFILE,
   BR2_INET_IPV6, BR2_INET_RPC, and BR2_SOFT_FLOAT option in
   toolchain/external-toolchain/Config.in. In the case of an external
   toolchain, the semantic of these options is not to enable large
   file support, IPV6 or RPC (since the toolchain is already compiled,
   it has been decided previously). Their semantic is to let Buildroot
   know about the characteristics of the external toolchain being
   used.

   As an improvement, we could guess these values automatically:

    - for BR2_LARGEFILE, look at the value of __UCLIBC_HAS_LFS__ in
      bits/uClibc_config.h in the libc headers directory.

    - for BR2_INET_RPC, look at the value of __UCLIBC_HAS_RPC__ in the
      same file

    - for BR2_INET_IPV6, look at the value of __UCLIBC_HAS_IPV6__ in
      the same file

    - for BR2_SOFT_FLOAT, look at the output of $(CC) -v 2>&1 | grep
      -- "--with-float=soft"

   But I'm not sure how this would be possible, since these values are
   used at configuration-time by other configuration options, not only
   at build time.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2008-11-03 10:18:39 +00:00
..
binutils toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
ccache toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
dependencies Applied change from Ben Nizette and Hans-Christian Egtvedt to 2008-09-04 02:30:56 +00:00
elf2flt Kconfig: remove 'default n' 2008-07-17 20:01:44 +00:00
external-toolchain External toolchain support improvements 2008-11-03 10:18:39 +00:00
gcc 2 gcc patches from Atmel's buildroot 2008-10-31 01:41:31 +00:00
gdb toolhain/: confgure: respect quiet option 2008-10-26 09:14:02 +00:00
kernel-headers kernel-headers: bump 2.6.25, 2.6.26 and 2.6.27 minor versions 2008-10-24 11:02:32 +00:00
mklibs Kconfig: remove 'default n' 2008-07-17 20:01:44 +00:00
sstrip Kconfig: remove 'default n' 2008-07-17 20:01:44 +00:00
uClibc toolchain/uclibc: brown paper bag fix for r23746 2008-10-20 18:55:26 +00:00
br2_autoreconf add autoreconf script that can handle gcc (aclocal needs to handle -I switch) 2007-09-28 19:56:16 +00:00
Config.in buildroot: remove trailing spaces 2008-08-04 19:07:05 +00:00
Config.in.2 External toolchain support improvements 2008-11-03 10:18:39 +00:00
Makefile.in Add prepatched AVR32 gcc-4.2.2 toolchain from www.atmel.no, move patch locations for prepatched toolchain to be under the toolchain directory 2008-07-04 08:39:35 +00:00
patch-kernel.sh Force use of bash for patching 2008-03-29 23:10:47 +00:00
wget-show-external-deps.sh buildroot: add external-deps target 2008-03-04 12:19:16 +00:00