the best
This commit is contained in:
+4
-4
@@ -200,8 +200,8 @@ choose_sub()
|
|||||||
|
|
||||||
targets="`grep ' - t=' .travis.yml | cut -f 2 -d = | cut -f 1 -d ' ' | sort -u`"
|
targets="`grep ' - t=' .travis.yml | cut -f 2 -d = | cut -f 1 -d ' ' | sort -u`"
|
||||||
if [ "${1}" -a "${2}" ]; then
|
if [ "${1}" -a "${2}" ]; then
|
||||||
if echo ${1} | grep -q "eabi"; then export buildnewlib="1" ;fi
|
if echo ${1} | grep -q "eabi"; then export buildnewlib="1"; fi
|
||||||
if echo ${1} | grep -q "elf"; then export buildnewlib="1" ;fi
|
if echo ${1} | grep -q "elf"; then export buildnewlib="1"; fi
|
||||||
target="`echo ${1} | cut -d - -f1`"
|
target="`echo ${1} | cut -d - -f1`"
|
||||||
mach="`echo ${1} | cut -d - -f2`"
|
mach="`echo ${1} | cut -d - -f2`"
|
||||||
runit "${target}-danio-${mach}" ${2}
|
runit "${target}-danio-${mach}" ${2}
|
||||||
@@ -216,8 +216,8 @@ elif [ "${AUTOBUILD}" ]; then
|
|||||||
elif [ "${METHOD}" = "glibc" ]; then
|
elif [ "${METHOD}" = "glibc" ]; then
|
||||||
export buildnewlib="0"
|
export buildnewlib="0"
|
||||||
for i in ${targets}; do
|
for i in ${targets}; do
|
||||||
if [ "`echo ${i} | cut -f 3 -d -`" = "eabi" ]; then continue; fi
|
if echo ${i} | grep -q "eabi"; then continue; fi
|
||||||
if [ "`echo ${i} | cut -f 3 -d -`" = "elf" ]; then continue; fi
|
if echo ${i} | grep -q "elf"; then continue; fi
|
||||||
runit ${i} 32
|
runit ${i} 32
|
||||||
runit ${i} 64
|
runit ${i} 64
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user