* [PATCH] libc/{glibc, eglibc}: Don't download glibc-ports when glibc or eglibc version greater than 2.16
@ 2013-11-16 11:55 Daniel Zimmermann
2013-11-16 17:16 ` libc/{glibc,eglibc}: Don't download glibc-ports when not available Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Zimmermann @ 2013-11-16 11:55 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: crossgcc
# HG changeset patch
# User Daniel Zimmermann <netzimme@gmail.com>
# Date 1384602440 -3600
# Sat Nov 16 12:47:20 2013 +0100
# Node ID 9c045ca3cf1b9dc89da307535ca42d8053fef03d
# Parent b76147cfdfee89332db1900128642b60772b85ee
libc/{glibc,eglibc}: Don't download glibc-ports when glibc or eglibc version greater than 2.16
Don't download glibc-ports when glibc or eglibc version greater than 2.16,
because the "ports" source is mainline in the glibc or eglibc since version 2.17.
Signed-off-by: "Daniel Zimmermann" <netzimme@gmail.com>
diff -r b76147cfdfee -r 9c045ca3cf1b config/libc/eglibc.in
--- a/config/libc/eglibc.in Fri Nov 15 21:35:27 2013 +0100
+++ b/config/libc/eglibc.in Sat Nov 16 12:47:20 2013 +0100
@@ -32,35 +32,43 @@
config LIBC_EGLIBC_V_2_16
bool
prompt "2_16"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
select LIBC_EGLIBC_2_16_or_later
config LIBC_EGLIBC_V_2_15
bool
prompt "2_15"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_2_14
bool
prompt "2_14"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_2_13
bool
prompt "2_13"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_2_12
bool
prompt "2_12"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_2_11
bool
prompt "2_11"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_2_10
bool
prompt "2_10"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_2_9
bool
prompt "2_9"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_EGLIBC_V_TRUNK
bool
diff -r b76147cfdfee -r 9c045ca3cf1b config/libc/glibc-eglibc.in-common
--- a/config/libc/glibc-eglibc.in-common Fri Nov 15 21:35:27 2013 +0100
+++ b/config/libc/glibc-eglibc.in-common Sat Nov 16 12:47:20 2013 +0100
@@ -4,6 +4,11 @@
# Some architectures require the ports addon. List them one by one here:
# This list must be carefully in sync with the architectures names
# we can find in config/arch/*
+
+config LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
+ bool
+ default n
+
config LIBC_GLIBC_MAY_FORCE_PORTS
bool
default y if ARCH_arm
diff -r b76147cfdfee -r 9c045ca3cf1b config/libc/glibc.in
--- a/config/libc/glibc.in Fri Nov 15 21:35:27 2013 +0100
+++ b/config/libc/glibc.in Sat Nov 16 12:47:20 2013 +0100
@@ -25,51 +25,63 @@
config LIBC_GLIBC_V_2_16_0
bool
prompt "2.16.0"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_15
bool
prompt "2.15"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_14_1
bool
prompt "2.14.1"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_14
bool
prompt "2.14"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_13
bool
prompt "2.13"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_12_2
bool
prompt "2.12.2"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_12_1
bool
prompt "2.12.1"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_11_1
bool
prompt "2.11.1"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_11
bool
prompt "2.11"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_10_1
bool
prompt "2.10.1"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
select LIBC_GLIBC_USE_PORTS
config LIBC_GLIBC_V_2_9
bool
prompt "2.9"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
config LIBC_GLIBC_V_2_8
bool
prompt "2.8"
+ select LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD
endchoice
diff -r b76147cfdfee -r 9c045ca3cf1b scripts/build/libc/eglibc.sh
--- a/scripts/build/libc/eglibc.sh Fri Nov 15 21:35:27 2013 +0100
+++ b/scripts/build/libc/eglibc.sh Sat Nov 16 12:47:20 2013 +0100
@@ -42,6 +42,11 @@
nptl) continue;;
esac
+ case "${CT_LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD}" in
+ y) ;;
+ *) continue;;
+ esac
+
if ! CT_GetSVN "eglibc-${addon}-${CT_LIBC_VERSION}" \
"${svn_base}/${addon}" \
"${CT_EGLIBC_REVISION:-HEAD}"
diff -r b76147cfdfee -r 9c045ca3cf1b scripts/build/libc/glibc.sh
--- a/scripts/build/libc/glibc.sh Fri Nov 15 21:35:27 2013 +0100
+++ b/scripts/build/libc/glibc.sh Sat Nov 16 12:47:20 2013 +0100
@@ -32,6 +32,11 @@
nptl) continue;;
esac
+ case "${CT_LIBC_NEEDS_GLIBC_PORTS_DOWNLOAD}" in
+ y) ;;
+ *) continue;;
+ esac
+
if ! CT_GetFile "glibc-${addon}-${CT_LIBC_VERSION}" \
{ftp,http}://ftp.gnu.org/gnu/glibc \
ftp://gcc.gnu.org/pub/glibc/releases \
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
* libc/{glibc,eglibc}: Don't download glibc-ports when not available
2013-11-16 11:55 [PATCH] libc/{glibc, eglibc}: Don't download glibc-ports when glibc or eglibc version greater than 2.16 Daniel Zimmermann
@ 2013-11-16 17:16 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2013-11-16 17:16 UTC (permalink / raw)
To: Daniel Zimmermann, Yann E. MORIN; +Cc: crossgcc
Daniel, All,
Your patch:
libc/{glibc,eglibc}: Don't download glibc-ports when not available
has been applied as: #ec603d1371b9
http://crosstool-ng.org/hg/crosstool-ng/rev/ec603d1371b9
Thank you!
Regards,
Yann E. MORIN.
--
For unsubscribe information see http://sourceware.org/lists.html#faq
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-16 17:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-16 11:55 [PATCH] libc/{glibc, eglibc}: Don't download glibc-ports when glibc or eglibc version greater than 2.16 Daniel Zimmermann
2013-11-16 17:16 ` libc/{glibc,eglibc}: Don't download glibc-ports when not available Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).