build/boot/roms: move help() to bottom of file

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-09-30 12:41:41 +01:00
parent 385eb90c8c
commit b3e69cd9ac
1 changed files with 7 additions and 7 deletions

View File

@ -64,6 +64,13 @@ main()
done
}
# Build ROM images for supported boards
buildrom() {
[ -d "config/coreboot/${1}/" ] || \
err "build/roms: target not defined: ${1}"
./build boot roms_helper ${1}${opts} || return 1
}
usage()
{
cat <<- EOF
@ -88,11 +95,4 @@ usage()
EOF
}
# Build ROM images for supported boards
buildrom() {
[ -d "config/coreboot/${1}/" ] || \
err "build/roms: target not defined: ${1}"
./build boot roms_helper ${1}${opts} || return 1
}
main $@