mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
build/boot/roms: move help() to bottom of file
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -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 $@
|
||||
|
||||
Reference in New Issue
Block a user