mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +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
|
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()
|
usage()
|
||||||
{
|
{
|
||||||
cat <<- EOF
|
cat <<- EOF
|
||||||
@@ -88,11 +95,4 @@ usage()
|
|||||||
EOF
|
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 $@
|
main $@
|
||||||
|
|||||||
Reference in New Issue
Block a user