buildroot/toolchain
Yann E. MORIN defb965893 toolchain/external: do not accept distro-class toolchains
Distro toolchains, i.ie. toolchains coing with distributions, will
almost invariably be unsuitable for use with Buildroot:
  - they are mostly non-relocatable;
  - their sysroot is tainted with a lot of extra libraries.

Especially, the toolchains coming with Ubuntu (really, all the Debian
familly of distros) are configured with --sysroot=/ which makes them
non-relocatable, and they already contain quite some libraries that
conflict (in any combination of version, API or ABI) with what Buildroot
wants to build (i.e. extra libraries, some not even present in
Buildroot...) but also their mere preence when Buildroot does not expect
them to be already built (so that a package would enable features when
it should not).

So, try to detect those toolchains and black-list them; inform the user
that the toolchain is unusable for the reasons mentioned above.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Arnout Vandecappelle <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-04-04 17:02:46 +02:00
..
toolchain toolchain/toolchain-buildroot: migrate to virtual package infrastructure 2014-06-14 19:10:13 +02:00
toolchain-buildroot toolchain: enable musl for sh 2015-03-25 20:01:55 +01:00
toolchain-external toolchain: remove LARGEFILE selects 2015-04-01 22:42:47 +02:00
Config.in toolchain: remove LARGEFILE selects 2015-04-01 22:42:47 +02:00
helpers.mk toolchain/external: do not accept distro-class toolchains 2015-04-04 17:02:46 +02:00
toolchain-common.in toolchain-common: drop BR2_LARGEFILE 2015-04-01 22:53:41 +02:00
toolchain.mk system/skeleton: make nsswitch install conditional 2014-10-25 12:48:17 +02:00