[Buildroot] [PATCH 1/6] toolchain: introduce a toolchain knob for NPTL
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Feb 17 22:57:06 UTC 2014
Dear Arnout Vandecappelle,
On Mon, 17 Feb 2014 23:08:15 +0100, Arnout Vandecappelle wrote:
> On 13/02/14 14:22, Thomas Petazzoni wrote:
> > +config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL
> > + bool "Toolchain has NPTL threads support?"
> > + depends on BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
> > + select BR2_TOOLCHAIN_HAS_THREADS_NPTL
> > + default y
> > + help
> > + Select this option if your external toolchain uses the NPTL
> > + (Native Posix Thread Library) implementation of Posix
> > + threads. If you don't know, leave the default value,
> > + Buildroot will tell you if it's correct or not.
>
> Where exactly does buildroot check if the external toolchain has NPTL?
In the patch you're replying to, look at the chunk that modifies
toolchain/helpers.mk:
+ $(call check_uclibc_feature,__UCLIBC_HAS_THREADS_NATIVE__,BR2_TOOLCHAIN_HAS_THREADS_NPTL,$${UCLIBC_CONFIG_FILE},NPTL thread support) ;\
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list