More work-in-progress.

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-05-08 12:57:24 -07:00
parent 85599c4743
commit 2c615fa62c
3 changed files with 46 additions and 8 deletions

View File

@ -139,14 +139,54 @@ config ${info[pfx]}_V_${info[kcfg]}
depends on OBSOLETE}${info[experimental]:+
depends on EXPERIMENTAL}'\"
# TBD devel (from official repository)
# TBD show changeset/revision/branch selection
if [ -n "${info[repository]}" ]; then
cat <<EOF
config ${info[pfx]}_V_DEVEL
bool "development"
depends on EXPERIMENTAL
help
Check out from the repository: ${info[repository]#* }
EOF
fi
# TBD custom (local tarball/directory)
# TBD show custom location selection
cat <<EOF
endchoice
EOF
if [ -n "${info[repository]}" ]; then
local -A dflt_branch=( [git]="master" [svn]="/trunk" )
cat <<EOF
if ${info[pfx]}_V_DEVEL
config ${info[pfx]}_DEVEL_URL
string
default "${info[repository]}"
config ${info[pfx]}_DEVEL_BRANCH
string "Branch to check out"
default "${dflt_branch[${info[repository]%% *}]}"
help
Git: branch to be checked out
Subversion: directories to append to the repository URL.
config ${info[pfx]}_DEVEL_REVISION
string "Revision/changeset"
default "HEAD"
help
Commit ID or revision ID to check out.
endif
EOF
fi
cat <<EOF
# Text string with the version of ${info[name]}
config ${info[pfx]}_VERSION

View File

@ -1,6 +1,5 @@
vcs="git"
repository="https://git.linaro.org/toolchain/binutils-gdb.git"
download="https://ftp.gnu.org/gnu/binutils/"
master="binutils"
repository="git https://git.linaro.org/toolchain/binutils-gdb.git"
download="TBD"
origin="Linaro"
experimental="yes"

View File

@ -1,4 +1,3 @@
vcs="git"
repository="git://sourceware.org/git/binutils-gdb.git"
download="https://ftp.gnu.org/gnu/binutils/"
repository="git git://sourceware.org/git/binutils-gdb.git"
download_url="https://ftp.gnu.org/gnu/binutils/binutils-${version}.${format}"
origin="GNU"