[Buildroot] [PATCH] uclibc: proper thread default on m68k and Microblaze

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Aug 7 21:04:49 UTC 2016


Hello,

On Fri,  5 Aug 2016 18:35:41 +0200, Thomas Petazzoni wrote:
> Traditionally, Buildroot has a default of enabling thread
> support. However, with the current construct of the thread choice in the
> uclibc package, the m68k and microblaze architecture end up with no
> thread support as the default.
> 
> In order to avoid having to explicit a more complicated "default" value
> for the choice, we take a simple approach:
> 
>  - The "none" choice is moved at the end of the list, so that it is not
>    selected as the default unless there is really no other thread
>    implementation available.
> 
>  - We make NPTL the default thread implementation.
> 
>  - On architectures where NPTL is not available, the NPTL option will
>    not be available, so Kconfig will automatically fallback to
>    linuxthreads.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
> ---
>  package/uclibc/Config.in | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)

Applied to master, after taking into account Yann's comment.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list