Config.in.legacy: fallback to glibc when eglibc was selected
PATCH 1/1 Config.in.legacy: fallback to glibc when eglibc was selected
As suggested by Peter Korsgaard, now that the eglibc support has been removed, it is useful to automatically make the user's configuration fall back to glibc (instead of uClibc, which would be the default C library).
--- Config.in.legacy | 3 +++ 1 file changed, 3 insertions(+)
Config.in.legacy +3 -0
@@ -155,11 +155,14 @@ config BR2_BINUTILS_VERSION_2_23_X config BR2_TOOLCHAIN_BUILDROOT_EGLIBC bool "eglibc support has been removed" select BR2_LEGACY + select BR2_TOOLCHAIN_BUILDROOT_GLIBC help The eglibc project no longer exists, as it has been merged back into the glibc project. Therefore, support for eglibc has been removed, and glibc should be used instead. + glibc has been automatically selected as a fallback. + config BR2_GDB_VERSION_7_8 bool "gdb 7.8 has been removed" select BR2_LEGACY
Signature · 1 line
2.7.4
PATCH 1/1 Config.in.legacy: fallback to glibc when eglibc was selected
Quoted 26 lines · Thomas Petazzoni
As suggested by Peter Korsgaard, now that the eglibc support has been removed, it is useful to automatically make the user's configuration fall back to glibc (instead of uClibc, which would be the default C library).
Signed-off-by Thomas Petazzoni <[email protected]>---
Config.in.legacy | 3 +++1 file changed, 3 insertions(+)Config.in.legacy +0
-0@@ -155,11 +155,14 @@ config BR2_BINUTILS_VERSION_2_23_Xconfig
BR2_TOOLCHAIN_BUILDROOT_EGLIBC
bool "eglibc support has been removed"
selectBR2_LEGACYConfig.in.legacy +1
-0+ select BR2_TOOLCHAIN_BUILDROOT_GLIBChelp
The eglibc project no longer exists, as it has been merged back into the glibc project. Therefore, support for eglibc has been removed, and glibc should be used instead.Config.in.legacy +2
-0+ glibc has been automatically selected as a fallback. +
Quoted 10 lines
config
BR2_GDB_VERSION_7_8
bool "gdb 7.8 has been removed"
selectBR2_LEGACYSignature · 6 lines
2.7.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
BR2_TOOLCHAIN_BUILDROOT_GLIBC is part of a choice, so you can't select it.
That's the limit of our legacy handling: it can't handle choices.
Regards,
Yann E. MORIN.
Signature · 4 lines
Sent from my Android device with K-9 Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160517/4e2051b5/attachment.html>
PATCH 1/1 Config.in.legacy: fallback to glibc when eglibc was selected
Hello,
Quoted 3 lines · Yann E. MORIN
BR2_TOOLCHAIN_BUILDROOT_GLIBCis part of a choice, so you can't select it.That's the limit of our legacy handling: it can't handle choices.
Gah, yes, indeed. I guess the only option is to keep a:
default BR2_TOOLCHAIN_BUILDROOT_GLIBC if BR2_TOOLCHAIN_BUILDROOT_EGLIBC
but it's rather annoying to keep legacy code forever elsewhere than in Config.in.legacy. So I'd prefer that we don't do anything in fact: the number of users using eglibc in their configuration is probably pretty low.
Thanks for the review!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 Config.in.legacy: fallback to glibc when eglibc was selected
Quoted 8 lines · Thomas Petazzoni
Hello,
Quoted 3 lines · Yann E. MORIN
BR2_TOOLCHAIN_BUILDROOT_GLIBCis part of a choice, so you can't select it.That's the limit of our legacy handling: it can't handle choices.
Quoted 8 lines
Gah, yes, indeed. I guess the only option is to keep a:
default
BR2_TOOLCHAIN_BUILDROOT_GLIBCifBR2_TOOLCHAIN_BUILDROOT_EGLIBCbut it's rather annoying to keep legacy code forever elsewhere than in Config.in.legacy. So I'd prefer that we don't do anything in fact: the number of users using eglibc in their configuration is probably pretty low.
Agreed.
Regards,
Arnout
Quoted 5 lines
Thanks for the review!
Thomas
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF