This commit is contained in:
Daniel
2019-12-13 20:42:12 +01:00
parent db4ed33b26
commit e1574ff176
+13 -1
View File
@@ -202,7 +202,19 @@ if ! command -v jq >/dev/null; then
fi
targets="`grep ' - t=' .travis.yml | cut -f 2 -d = | cut -f 1 -d ' ' | sort -u`"
if [ "${AUTOBUILD}" -ne "0" ]; then
if [ "${1}" -a "${2}" ]; then
[ -z "${binutils_version}" ] && export binutils_version="master"
[ -z "${glibc_version}" ] && export glibc_version="master"
[ -z "${linux_version}" ] && export linux_version="master"
[ -z "${gcc_version}" ] && export gcc_version="master"
[ -z "${newlib_version}" ] && export newlib_version="master"
if echo ${1} | grep -q "eabi"; then export buildnewlib="1" ;fi
if echo ${1} | grep -q "elf"; then export buildnewlib="1" ;fi
target="echo ${1} | cut -d - -f1"
mach="`echo ${1} | cut -d - -f1`"
runit "${target}-danio-${mach}" ${2}
elif [ "${AUTOBUILD}" ]; then
export clean="1"
[ -z "${binutils_version}" ] && export binutils_version="master"
[ -z "${glibc_version}" ] && export glibc_version="master"