Contrary to mainline uClibc, uClibc-ng has support for NPTL on Xtensa,
so let's allow selecting NPTL when a uClibc version other than the
Xtensa special uClibc version is used.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Waldemar Brodkorb <wbx@uclibc-ng.org>
select BR2_TOOLCHAIN_HAS_THREADS_NPTL
depends on !BR2_arc
depends on !BR2_bfin
- depends on !BR2_xtensa
+ # There is NPTL support for Xtensa in uClibc-ng, but
+ # not in the main uClibc repository.
+ depends on !BR2_xtensa || !BR2_UCLIBC_VERSION_XTENSA_GIT
depends on !BR2_x86_i386
endchoice