mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 18:56:31 +00:00
libc/eglibc: Add option that allows for getting svn over http://
Instead of getting eglibc over standard svn://svn.eglibc.org Add an option that allows the user to get source from http://www.eglibc.org/svn This is useful if you are behind a firewall or proxy. If you are behind a proxy, don't forget to configure ${HOME}/.subversion/servers In the [global] section setup your proxy configuration. Signed-off-by: Bryan Hundven <bryanhundven@gmail.com> [yann.morin.1998@anciens.enib.fr: removed useless 'default n'] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
This commit is contained in:
parent
7197a56ae6
commit
2dfb4412bf
@ -138,6 +138,16 @@ config EGLIBC_REVISION
|
|||||||
(*) If you want to use a date, please use ISO-8601 formats if
|
(*) If you want to use a date, please use ISO-8601 formats if
|
||||||
at all possible.
|
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
|
config EGLIBC_CHECKOUT
|
||||||
bool
|
bool
|
||||||
prompt "checkout instead of export"
|
prompt "checkout instead of export"
|
||||||
|
@ -14,7 +14,13 @@
|
|||||||
# snapshots available.
|
# snapshots available.
|
||||||
do_libc_get() {
|
do_libc_get() {
|
||||||
local addon
|
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
|
case "${CT_LIBC_VERSION}" in
|
||||||
trunk) svn_base+="/trunk";;
|
trunk) svn_base+="/trunk";;
|
||||||
|
Loading…
Reference in New Issue
Block a user