download/coreboot: prune errant comments
parent
31d8fcd3fd
commit
e47aaa8ff0
|
@ -28,10 +28,6 @@ set -u -e
|
||||||
|
|
||||||
main()
|
main()
|
||||||
{
|
{
|
||||||
# In this script, set -u is used to check for undefined variables, and
|
|
||||||
# the test command doesn't do any lazy evaluation, so we can't use
|
|
||||||
# a syntax like that: [ $# -eq 1 -a "$1" = "--help" ].
|
|
||||||
|
|
||||||
if [ $# -eq 1 ] && [ "$1" = "--help" ] ; then
|
if [ $# -eq 1 ] && [ "$1" = "--help" ] ; then
|
||||||
usage
|
usage
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -78,10 +74,6 @@ downloadfor() {
|
||||||
cbtree="undefined"
|
cbtree="undefined"
|
||||||
cbrevision="undefined"
|
cbrevision="undefined"
|
||||||
|
|
||||||
# The loop will always exit, but this while loop is crafted
|
|
||||||
# such that a tree referencing a tree that references another
|
|
||||||
# tree is possible (and so on and so forth)
|
|
||||||
|
|
||||||
while true; do
|
while true; do
|
||||||
cbrevision="undefined"
|
cbrevision="undefined"
|
||||||
cbtree="undefined"
|
cbtree="undefined"
|
||||||
|
@ -226,11 +218,8 @@ downloadfor() {
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# extra.sh could be used to patch submodules, if you wanted to
|
# extra.sh can be used for anything
|
||||||
# It's impossible to predict what submodules will be available, and
|
# but should *only* be a last resort
|
||||||
# it's rare that you'd want to patch them, so this is handled by
|
|
||||||
# extra.sh on a per-board basis
|
|
||||||
# In fact, extra.sh can be used for anything you want.
|
|
||||||
if [ -f "../../resources/coreboot/${_board}/extra.sh" ]; then
|
if [ -f "../../resources/coreboot/${_board}/extra.sh" ]; then
|
||||||
"../../resources/coreboot/${_board}/extra.sh" \
|
"../../resources/coreboot/${_board}/extra.sh" \
|
||||||
|| touch ../../build_error
|
|| touch ../../build_error
|
||||||
|
|
Loading…
Reference in New Issue