parent
fd8b8084ee
commit
7a6f40fcbf
|
@ -68,25 +68,6 @@ main()
|
|||
exit 0
|
||||
}
|
||||
|
||||
list_supported_boards()
|
||||
{
|
||||
for board in resources/coreboot/*; do
|
||||
echo $board | sed 's#resources/coreboot/##'
|
||||
done
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
progname="./download coreboot"
|
||||
printf "Usage:\n"
|
||||
printf "\t%s\t\t\t# Clone coreboot for all boards\n" "${progname}"
|
||||
printf "\t%s [board [board] ...] # Clone coreboot for given boards\n" \
|
||||
${progname}
|
||||
printf "\t%s --list-boards\t# Prints this help\n" ${progname}
|
||||
printf "\t%s --help\t\t# List supported boards\n" ${progname}
|
||||
printf "\t%s --help\t\t# Prints this help\n" ${progname}
|
||||
}
|
||||
|
||||
downloadfor() {
|
||||
|
||||
board="${1}"
|
||||
|
@ -259,4 +240,23 @@ downloadfor() {
|
|||
fi
|
||||
}
|
||||
|
||||
usage()
|
||||
{
|
||||
progname="./download coreboot"
|
||||
printf "Usage:\n"
|
||||
printf "\t%s\t\t\t# Clone coreboot for all boards\n" "${progname}"
|
||||
printf "\t%s [board [board] ...] # Clone coreboot for given boards\n" \
|
||||
${progname}
|
||||
printf "\t%s --list-boards\t# Prints this help\n" ${progname}
|
||||
printf "\t%s --help\t\t# List supported boards\n" ${progname}
|
||||
printf "\t%s --help\t\t# Prints this help\n" ${progname}
|
||||
}
|
||||
|
||||
list_supported_boards()
|
||||
{
|
||||
for board in resources/coreboot/*; do
|
||||
echo $board | sed 's#resources/coreboot/##'
|
||||
done
|
||||
}
|
||||
|
||||
main $@
|
||||
|
|
Loading…
Reference in New Issue