summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/boot/roms14
1 files changed, 7 insertions, 7 deletions
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 $@