mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-30 16:14:09 +00:00
binutils/elf2flt: use alternate mirror
The official elf2flt upstream has disapeared. Switch to a mirror. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
This commit is contained in:
parent
e2d2b2ae11
commit
04a7340d0a
@ -7,12 +7,10 @@ comment "elf2flt"
|
||||
choice
|
||||
bool
|
||||
prompt "elf2flt version"
|
||||
# Don't remove next line
|
||||
# CT_INSERT_VERSION_BELOW
|
||||
|
||||
config ELF2FLT_CVSHEAD
|
||||
config ELF2FLT_GIT
|
||||
bool
|
||||
prompt "CVS Head"
|
||||
prompt "git"
|
||||
help
|
||||
Grab the latest version of elf2flt from the CVS repository
|
||||
|
||||
@ -23,8 +21,30 @@ config ELF2FLT_CUSTOM
|
||||
|
||||
endchoice
|
||||
|
||||
config ELF2FLT_VERSION
|
||||
string
|
||||
|
||||
if ELF2FLT_GIT
|
||||
|
||||
config ELF2FLT_GIT_CSET
|
||||
string
|
||||
prompt "git cset"
|
||||
default "21c6a41885ad544763ccd19883c1353f3b0b7a47"
|
||||
help
|
||||
Enter the git changeset to use.
|
||||
|
||||
The default currently points to the HEAD of the git tree.
|
||||
|
||||
config ELF2FLT_VERSION
|
||||
default ELF2FLT_GIT_CSET
|
||||
|
||||
endif # ELF2FLT_GIT
|
||||
|
||||
if ELF2FLT_CUSTOM
|
||||
|
||||
config ELF2FLT_VERSION
|
||||
default "custom"
|
||||
|
||||
config ELF2FLT_CUSTOM_LOCATION
|
||||
string
|
||||
prompt "Full path to custom elf2flt source"
|
||||
@ -35,13 +55,6 @@ config ELF2FLT_CUSTOM_LOCATION
|
||||
|
||||
endif # ELF2FLT_CUSTOM
|
||||
|
||||
config ELF2FLT_VERSION
|
||||
string
|
||||
default "cvs" if ELF2FLT_CVSHEAD
|
||||
default "custom" if ELF2FLT_CUSTOM
|
||||
# Don't remove next line
|
||||
# CT_INSERT_VERSION_STRING_BELOW
|
||||
|
||||
config ELF2FLT_EXTRA_CONFIG_ARRAY
|
||||
string
|
||||
prompt "elf2flt extra config"
|
||||
|
@ -193,7 +193,6 @@ while [ $# -gt 0 ]; do
|
||||
# Tools:
|
||||
--gcc) EXP=; OBS=; cat=CC; tool=gcc; tool_prefix=cc; dot2suffix=;;
|
||||
--binutils) EXP=; OBS=; cat=BINUTILS; tool=binutils; tool_prefix=binutils; dot2suffix=;;
|
||||
--elf2flt) EXP=; OBS=; cat=BINUTILS; tool=binutils; tool_prefix=binutils; dot2suffix=.2;;
|
||||
--glibc) EXP=; OBS=; cat=LIBC_GLIBC; tool=glibc; tool_prefix=libc; dot2suffix=;;
|
||||
--eglibc) EXP=; OBS=; cat=LIBC_EGLIBC; tool=eglibc; tool_prefix=libc; dot2suffix=;;
|
||||
--uClibc) EXP=; OBS=; cat=LIBC_UCLIBC; tool=uClibc; tool_prefix=libc; dot2suffix=;;
|
||||
|
@ -14,11 +14,7 @@ do_binutils_get() {
|
||||
fi
|
||||
|
||||
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
|
||||
CT_GetCVS "elf2flt-${CT_ELF2FLT_VERSION}" \
|
||||
":pserver:anonymous@cvs.uclinux.org:/var/cvs" \
|
||||
"elf2flt" \
|
||||
"" \
|
||||
"elf2flt-${CT_ELF2FLT_VERSION}"
|
||||
CT_GetGit elf2flt "${CT_ELF2FLT_GIT_CSET}" git://wh0rd.org/elf2flt.git
|
||||
fi
|
||||
}
|
||||
|
||||
@ -34,8 +30,8 @@ do_binutils_extract() {
|
||||
CT_Patch "binutils" "${CT_BINUTILS_VERSION}"
|
||||
|
||||
if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
|
||||
CT_Extract "elf2flt-${CT_ELF2FLT_VERSION}"
|
||||
CT_Patch "elf2flt" "${CT_ELF2FLT_VERSION}"
|
||||
CT_Extract "elf2flt-${CT_ELF2FLT_GIT_CSET}"
|
||||
CT_Patch "elf2flt" "${CT_ELF2FLT_GIT_CSET}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user