kumquat-buildroot/toolchain
Thomas Petazzoni c64f948d2c toolchain: introduce a toolchain knob for NPTL
As our architecture support expands to a number of architectures that
do not implement NPTL threading, and the number of packages that
depend on NPTL specific features, it has become necessary to be able
to know whether the toolchain has NPTL support or not.

This commit adds a new BR2_TOOLCHAIN_HAS_THREADS_NPTL hidden Config.in
option that allows packages to know whether NPTL is available or not.

This hidden option is:

 * Automatically enabled when glibc/eglibc or musl toolchains are
   used, either internal or external.

 * Automatically enabled when an internal uClibc toolchain with NPTL
   support is configured. It is left disabled otherwise for internal
   uClibc toolchains.

 * Configured according to a visible Config.in option for custom
   external uClibc toolchains.

[Peter: factor _EXTERNAL_HAS_THREADS in single if as suggested by Arnout]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-22 23:39:01 +01:00
..
toolchain package: add toolchain dependency to every target package 2014-02-14 21:08:35 +01:00
toolchain-buildroot package: add toolchain dependency to every target package 2014-02-14 21:08:35 +01:00
toolchain-external toolchain: introduce a toolchain knob for NPTL 2014-02-22 23:39:01 +01:00
Config.in toolchain: introduce a toolchain knob for NPTL 2014-02-22 23:39:01 +01:00
helpers.mk toolchain: introduce a toolchain knob for NPTL 2014-02-22 23:39:01 +01:00
toolchain-common.in toolchain: introduce a toolchain knob for NPTL 2014-02-22 23:39:01 +01:00