From b3e69cd9ac79b35ba59204ce0143efc8405b3c08 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 30 Sep 2023 12:41:41 +0100 Subject: build/boot/roms: move help() to bottom of file Signed-off-by: Leah Rowe --- script/build/boot/roms | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'script/build') diff --git a/script/build/boot/roms b/script/build/boot/roms index 4b29f78f..53b4bf2d 100755 --- a/script/build/boot/roms +++ b/script/build/boot/roms @@ -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 $@ -- cgit v1.2.1