build/boot/roms: move help() to bottom of file
Signed-off-by: Leah Rowe <leah@libreboot.org>btrfsvols
parent
385eb90c8c
commit
b3e69cd9ac
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in New Issue