]> Git Repo - buildroot-mgba.git/commit
toolchain: introduce a toolchain knob for NPTL
authorThomas Petazzoni <[email protected]>
Tue, 18 Feb 2014 21:08:59 +0000 (22:08 +0100)
committerPeter Korsgaard <[email protected]>
Sat, 22 Feb 2014 22:39:01 +0000 (23:39 +0100)
commitc64f948d2c7c2aaf61b8a45880eb9715b6cc9bb9
tree8f143aefa13fd76c9512a47e3e1f7906da19d17c
parenteda3d0e1d01c3f3e32a24759ddd107574a118c8c
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 <[email protected]>
Signed-off-by: Peter Korsgaard <[email protected]>
package/uclibc/Config.in
toolchain/Config.in
toolchain/helpers.mk
toolchain/toolchain-common.in
toolchain/toolchain-external/Config.in
This page took 0.033794 seconds and 4 git commands to generate.