uclibc: enable Xtensa NPTL support with uClibc-ng
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 14 Feb 2015 21:01:07 +0000 (22:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 1 Mar 2015 11:03:05 +0000 (12:03 +0100)
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>
package/uclibc/Config.in

index a8af1976677e2bcd0f87a8982d47f321d5099f1f..3a657526b2a2d0d1e861a88264e9748a2afd630e 100644 (file)
@@ -129,7 +129,9 @@ choice
                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