From: Romain Naour <romain.naour@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 8/8] uclibc: remove version selection
Date: Tue, 26 Jan 2016 00:31:58 +0100 [thread overview]
Message-ID: <56A6B06E.6070206@gmail.com> (raw)
In-Reply-To: <1453148701-10036-9-git-send-email-thomas.petazzoni@free-electrons.com>
Thomas, All,
Le 18/01/2016 21:25, Thomas Petazzoni a ?crit :
> Since we now only support uClibc-ng, remove the version selection from
> the uclibc package.
>
> Note that the BR2_UCLIBC_VERSION_SUPPORTS_* hidden booleans, which
> were only used to allow each uClibc version to specify which thread
> implementation they support and on which architecture are removed. Now
> such architecture dependencies are directly encoded in the "Thread
> library implementation" choice.
The legacy handling for BR2_UCLIBC_VERSION_NG is missing.
Otherwise the patch is ok.
Thanks !
Best regards,
Romain
>
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> ---
> package/uclibc/Config.in | 41 +++++------------------------------------
> package/uclibc/uclibc.mk | 11 +++--------
> 2 files changed, 8 insertions(+), 44 deletions(-)
>
> diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
> index 452043d..16bf89c 100644
> --- a/package/uclibc/Config.in
> +++ b/package/uclibc/Config.in
> @@ -7,38 +7,9 @@ config BR2_PACKAGE_UCLIBC
>
> comment "uClibc Options"
>
> -config BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
> - bool
> -
> -config BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
> - bool
> -
> -config BR2_UCLIBC_VERSION_SUPPORTS_NPTL
> - bool
> -
> -choice
> - prompt "uClibc C library Version"
> - default BR2_UCLIBC_VERSION_NG
> - help
> - Select the version of uClibc you wish to use.
> -
> - config BR2_UCLIBC_VERSION_NG
> - bool "uClibc-ng"
> - select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS if BR2_m68k
> - select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD \
> - if BR2_m68k || BR2_arm || BR2_armeb
> - select BR2_UCLIBC_VERSION_SUPPORTS_NPTL \
> - if !BR2_m68k && !BR2_x86_i386
> -
> -endchoice
> -
> -config BR2_UCLIBC_VERSION_STRING
> - string
> - default "1.0.11" if BR2_UCLIBC_VERSION_NG
> -
> config BR2_UCLIBC_CONFIG
> string "uClibc configuration file to use?"
> - default "package/uclibc/uClibc-ng.config" if BR2_UCLIBC_VERSION_NG
> + default "package/uclibc/uClibc-ng.config"
> help
> Some people may wish to use their own modified uClibc configuration
> file and will specify their config file location with this option.
> @@ -76,9 +47,7 @@ config BR2_TOOLCHAIN_BUILDROOT_LOCALE
>
> choice
> prompt "Thread library implementation"
> - default BR2_PTHREADS_NATIVE if BR2_UCLIBC_VERSION_SUPPORTS_NPTL
> - default BR2_PTHREADS_OLD if BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
> - default BR2_PTHREADS if BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
> + default BR2_PTHREADS_NATIVE
> help
> Use this option to select the thread library implementation
> that should be used in your toolchain.
> @@ -89,18 +58,18 @@ choice
> config BR2_PTHREADS
> bool "linuxthreads"
> select BR2_TOOLCHAIN_HAS_THREADS
> - depends on BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS
> + depends on BR2_m68k
>
> config BR2_PTHREADS_OLD
> bool "linuxthreads (stable/old)"
> select BR2_TOOLCHAIN_HAS_THREADS
> - depends on BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
> + depends on BR2_m68k || BR2_arm || BR2_armeb
>
> config BR2_PTHREADS_NATIVE
> bool "Native POSIX Threading (NPTL)"
> select BR2_TOOLCHAIN_HAS_THREADS
> select BR2_TOOLCHAIN_HAS_THREADS_NPTL
> - depends on BR2_UCLIBC_VERSION_SUPPORTS_NPTL
> + depends on !BR2_m68k && !BR2_x86_i386
> endchoice
>
> config BR2_PTHREAD_DEBUG
> diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
> index 44b8a97..6b05181 100644
> --- a/package/uclibc/uclibc.mk
> +++ b/package/uclibc/uclibc.mk
> @@ -4,16 +4,11 @@
> #
> ################################################################################
>
> -UCLIBC_VERSION = $(call qstrip,$(BR2_UCLIBC_VERSION_STRING))
> -UCLIBC_SOURCE ?= uClibc-$(UCLIBC_VERSION).tar.bz2
> +UCLIBC_VERSION = 1.0.11
> +UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
> +UCLIBC_SITE = http://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
> UCLIBC_LICENSE = LGPLv2.1+
> UCLIBC_LICENSE_FILES = COPYING.LIB
> -
> -ifeq ($(BR2_UCLIBC_VERSION_NG),y)
> -UCLIBC_SITE = http://downloads.uclibc-ng.org/releases/$(UCLIBC_VERSION)
> -UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
> -endif
> -
> UCLIBC_INSTALL_STAGING = YES
>
> # uclibc is part of the toolchain so disable the toolchain dependency
>
next prev parent reply other threads:[~2016-01-25 23:31 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-18 20:24 [Buildroot] [PATCH 0/8] Remove uClibc version selection: always use uClibc-ng Thomas Petazzoni
2016-01-18 20:24 ` [Buildroot] [PATCH 1/8] libunwind: fix C library dependency Thomas Petazzoni
2016-01-25 21:59 ` Romain Naour
2016-01-25 22:20 ` Thomas Petazzoni
2016-01-25 22:33 ` Romain Naour
2016-01-25 22:43 ` Thomas Petazzoni
2016-01-18 20:24 ` [Buildroot] [PATCH 2/8] lttng-babeltrace: make available for all C libraries Thomas Petazzoni
2016-01-18 20:35 ` Baruch Siach
2016-01-25 22:16 ` Romain Naour
2016-01-18 20:24 ` [Buildroot] [PATCH 3/8] mongrel2: allow using uClibc but only on certain architectures Thomas Petazzoni
2016-01-25 22:41 ` Romain Naour
2016-01-25 22:59 ` Thomas Petazzoni
2016-01-18 20:24 ` [Buildroot] [PATCH 4/8] vlc: remove dependency on C library Thomas Petazzoni
2016-01-25 22:55 ` Romain Naour
2016-01-18 20:24 ` [Buildroot] [PATCH 5/8] samba4: remove dependency on specific C libraries Thomas Petazzoni
2016-01-25 23:06 ` Romain Naour
2016-01-26 9:58 ` Thomas Petazzoni
2016-01-18 20:24 ` [Buildroot] [PATCH 6/8] uclibc: remove 0.9.33 version Thomas Petazzoni
2016-01-25 23:11 ` Romain Naour
2016-01-25 23:14 ` Romain Naour
2016-01-26 22:08 ` Arnout Vandecappelle
2016-01-18 20:25 ` [Buildroot] [PATCH 7/8] uclibc: remove support for the snapshot version Thomas Petazzoni
2016-01-25 23:16 ` Romain Naour
2016-01-18 20:25 ` [Buildroot] [PATCH 8/8] uclibc: remove version selection Thomas Petazzoni
2016-01-25 23:31 ` Romain Naour [this message]
2016-01-24 20:25 ` [Buildroot] [PATCH 0/8] Remove uClibc version selection: always use uClibc-ng Romain Naour
2016-01-24 20:32 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56A6B06E.6070206@gmail.com \
--to=romain.naour@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.