summaryrefslogtreecommitdiff
path: root/resources/scripts/download/coreboot
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/download/coreboot')
-rwxr-xr-xresources/scripts/download/coreboot32
1 files changed, 0 insertions, 32 deletions
diff --git a/resources/scripts/download/coreboot b/resources/scripts/download/coreboot
index 0092aecb..ccb407b3 100755
--- a/resources/scripts/download/coreboot
+++ b/resources/scripts/download/coreboot
@@ -31,19 +31,6 @@ cbcfgsdir="resources/coreboot"
main()
{
- if [ $# -eq 1 ] && [ "$1" = "--help" ] ; then
- usage
- exit 0
- elif [ $# -eq 1 ] && [ "$1" = "--list-boards" ] ; then
- list_supported_boards
- exit 0
- fi
-
- fetch_coreboot_trees $@
-}
-
-fetch_coreboot_trees()
-{
rm -f ${cbcfgsdir}/*/seen
printf "Downloading coreboot and (if available) applying patches\n"
@@ -186,23 +173,4 @@ prepare_new_coreboot_tree()
)
}
-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 "${cbcfgsdir}/"*; do
- echo ${_board} | sed 's#${cbcfgsdir}/##'
- done
-}
-
main $@