[Buildroot] [PATCH 3/3] uclibc: enable Xtensa NPTL support with uClibc-ng
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Feb 14 21:01:07 UTC 2015
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 at free-electrons.com>
---
package/uclibc/Config.in | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index a8af197..3a65752 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -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
--
2.1.0
More information about the buildroot
mailing list