summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/roms5
1 files changed, 3 insertions, 2 deletions
diff --git a/script/build/roms b/script/build/roms
index 66e7039d..cf4404cc 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -58,6 +58,7 @@ main()
board="${x}"
configure_target
build_payloads
+ build_target_mainboard
[ -d "bin/${board}" ] || continue
targets="* bin/${board}\n${targets}"
done
@@ -133,7 +134,7 @@ build_payloads()
x_ ./update trees -b memtest86plus
[ "$payload_seabios" = "y" ] && x_ ./update trees -b seabios
- for bt in grub_payload dependency_uboot target; do
+ for bt in grub_payload dependency_uboot; do
eval "build_${bt}"
done
}
@@ -193,7 +194,7 @@ build_uboot_payload()
err "Can't find u-boot build for board, $board";
}
-build_target()
+build_target_mainboard()
{
rm -f "${romdir}/"* || err "!prepare, rm files, ${romdir}"