This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] libc/{glibc, eglibc}: Don't download glibc-ports when glibc or eglibc version greater than 2.16


# 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]