summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-02-14 22:01:07 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-01 12:03:05 +0100
commit060125b4fed11458288b14fbd2d49e1c12eb11df (patch)
tree0b78eed38fcd1d90fc663a9676ea18028c31d232
parent1deb4201b390a9265bb011c137d371ea68b81d11 (diff)
downloadbuildroot-060125b4fed11458288b14fbd2d49e1c12eb11df.tar.gz
buildroot-060125b4fed11458288b14fbd2d49e1c12eb11df.zip
uclibc: enable Xtensa NPTL support with uClibc-ng
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>
-rw-r--r--package/uclibc/Config.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index a8af197667..3a657526b2 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
OpenPOWER on IntegriCloud