buildrootschalter/toolchain
Yann E. MORIN f30928c1b1 toolchain/crosstool-NG: fix bundled config files
Bundled config files have architecture-specific values in them,
which may break if buildroot is configured with another architecture
that does not forcibly set these option.

For example, the bundled config files are for x86_64, and define:
    CT_ARCH_TUNE="generic"

This comes from the BR2_GCC_TARGET_TUNE config option (in buildroot) that
is set accordingly to the selected (arch,sub-arch).

But if someone configures buildroot for, say, generic ARM, then the
BR2_GCC_TARGET_TUNE config option is not set, and the crosstool-NG backend
Makefile believes it should not be pushed down to the crosstool-NG config
file.

BUT...

The crosstool-NG backend Makefile can not forcibly push BR2_GCC_TARGET_TUNE
down to the CT-NG config file. If BR2_GCC_TARGET_TUNE is empty, the user can
still set CT_ARCH_TUNE by running ctng-menuconfig.

The backend Makefile already passes such values only if they are set.

In the end, we can't push options as-is to the crosstool-NG config, but we
MUST provide sane bundled config files, which this patch does.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-28 09:43:21 +02:00
..
dependencies Reset critical environment variables 2010-12-29 23:35:52 +01:00
elf2flt sh: Fix Buildroot sh targets to match gnuconfig targets 2011-07-18 23:26:12 +02:00
gcc toolchain/gcc: bump 4.6.x version to 4.6.1 2011-06-28 15:19:13 +02:00
gdb gdb: depend on host-expat to fix remote debugging 2011-02-28 10:26:17 +01:00
kernel-headers kernel-headers: bump 3.0.x stable version 2011-08-22 13:35:55 +02:00
mklibs toolchain: mark mklibs as broken 2011-05-02 21:39:53 +02:00
toolchain-buildroot uClibc: drop BR2_PROGRAM_INVOCATION option 2011-07-27 11:56:53 +02:00
toolchain-crosstool-ng toolchain/crosstool-NG: fix bundled config files 2011-08-28 09:43:21 +02:00
toolchain-external toolchain-external: fix some typos CodeSoucery -> CodeSourcery 2011-08-04 21:56:33 +02:00
uClibc uClibc: disallow 0.9.32 on sh 2011-08-16 08:36:01 +02:00
Config.in toolchain: introduce BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS 2011-06-12 21:50:20 +02:00
helpers.mk toolchain/helpers.mk: unbreak check_glibc after PROGRAM_INVOCATION removal 2011-07-29 09:09:44 +02:00
Makefile.in binutils: make it a proper package 2011-01-02 22:55:16 +01:00
patch-kernel.sh toolchain/patch-kernel.sh: xtensa directory overlay support 2009-07-24 02:31:34 +02:00
toolchain-buildroot.mk binutils: make it a proper package 2011-01-02 22:55:16 +01:00
toolchain-common.in uClibc: drop BR2_PROGRAM_INVOCATION option 2011-07-27 11:56:53 +02:00
toolchain-crosstool-ng.mk binutils: make it a proper package 2011-01-02 22:55:16 +01:00
toolchain-external.mk binutils: make it a proper package 2011-01-02 22:55:16 +01:00