Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] glibc: remove version choice
Date: Sat, 24 Jun 2017 17:49:24 +0200	[thread overview]
Message-ID: <20170624174924.19b6549c@windsurf.home> (raw)
In-Reply-To: <20170610205337.GA15034@waldemar-brodkorb.de>

Hello,

On Sat, 10 Jun 2017 22:53:37 +0200, Waldemar Brodkorb wrote:
> We do not support uClibc-ng/musl C library version choice support,
> do the same for GNU C Library.
> Add me as Maintainer for the package.
> No legacy handling required as only version choice is removed.
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

I've applied, but after doing a few changes, see below.

> diff --git a/DEVELOPERS b/DEVELOPERS
> index 1e87d3a..1af8d75 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1688,9 +1688,10 @@ F:	arch/Config.in.bfin
>  F:	arch/Config.in.m68k
>  F:	arch/Config.in.or1k
>  F:	arch/Config.in.sparc
> +F:	package/glibc/
> +F:	package/mksh/
>  F:	package/uclibc/
>  F:	package/uclibc-ng-test/
> -F:	package/mksh/

This is mixing two changes (alphabetic ordering and adding you as a
developer for the glibc package) in a patch that is otherwise
relatively unrelated. So I've moved these changes to separate patches.

> diff --git a/package/glibc/Config.in b/package/glibc/Config.in
> index 115388e..e5d0d5c 100644
> --- a/package/glibc/Config.in
> +++ b/package/glibc/Config.in
> @@ -3,35 +3,8 @@ if BR2_TOOLCHAIN_BUILDROOT_GLIBC
>  config BR2_PACKAGE_GLIBC
>  	bool
>  	default y
> +	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2

A "depends on" on a prompt-less option is quite useless, because it
doesn't prevent anyone from select-ing this option, unless you
propagate this depends on of course (which you don't do).

> -comment "glibc-2.24+ needs kernel headers >= 3.2"
> -	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_2

And we're loosing the comment about glibc now requiring headers >= 3.2.

So, instead, I've moved the dependency to
toolchain/toolchain-buildroot/Config.in, option
BR2_TOOLCHAIN_BUILDROOT_GLIBC, where we already had
the !BR2_STATIC_LIBS dependency. And I've updated the existing
Config.in comment to mention the need for headers >= 3.2.

Thanks!

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

      parent reply	other threads:[~2017-06-24 15:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-10 20:53 [Buildroot] [PATCH v2] glibc: remove version choice Waldemar Brodkorb
2017-06-13 16:29 ` Arnout Vandecappelle
2017-06-24 15:49 ` Thomas Petazzoni [this message]

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=20170624174924.19b6549c@windsurf.home \
    --to=thomas.petazzoni@free-electrons.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox