summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/libc/eglibc.in10
-rw-r--r--scripts/build/libc/eglibc.sh8
2 files changed, 17 insertions, 1 deletions
diff --git a/config/libc/eglibc.in b/config/libc/eglibc.in
index 19e93b3..ad3f06d 100644
--- a/config/libc/eglibc.in
+++ b/config/libc/eglibc.in
@@ -138,6 +138,16 @@ config EGLIBC_REVISION
(*) If you want to use a date, please use ISO-8601 formats if
at all possible.
+config EGLIBC_HTTP
+ bool
+ prompt "use http:// instead of svn://"
+ help
+ By default, when eglibc is downloaded it is checked out using
+ svn://svn.eglibc.org. This option allows you to download eglibc
+ from http://www.eglibc.org, if you are behind a proxy or firewall.
+ If you are behind a proxy, don't forget to update your
+ .subversion/servers file with your proxy info in [global].
+
config EGLIBC_CHECKOUT
bool
prompt "checkout instead of export"
diff --git a/scripts/build/libc/eglibc.sh b/scripts/build/libc/eglibc.sh
index 0c357df..16272ba 100644
--- a/scripts/build/libc/eglibc.sh
+++ b/scripts/build/libc/eglibc.sh
@@ -14,7 +14,13 @@
# snapshots available.
do_libc_get() {
local addon
- local svn_base="svn://svn.eglibc.org"
+ local svn_base
+
+ if [ "${CT_EGLIBC_HTTP}" = "y" ]; then
+ svn_base="http://www.eglibc.org/svn"
+ else
+ svn_base="svn://svn.eglibc.org"
+ fi
case "${CT_LIBC_VERSION}" in
trunk) svn_base+="/trunk";;