[Buildroot] [PATCH 1/6] toolchain: introduce a toolchain knob for NPTL

Arnout Vandecappelle arnout at mind.be
Mon Feb 17 23:09:27 UTC 2014


On 17/02/14 23:57, Thomas Petazzoni wrote:
> 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) ;\

 Damn, I looked for it three times and couldn't find it... Better get my
eyes checked!


 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F


More information about the buildroot mailing list