summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild13
1 files changed, 4 insertions, 9 deletions
diff --git a/build b/build
index ab896706..71fa9d74 100755
--- a/build
+++ b/build
@@ -175,7 +175,10 @@ build_release()
(
cd "${srcdir}" || $err "${_xm}: 2 !cd \"${srcdir}\""
- mkrom_images
+ ./build roms all || $err "${_xm}: roms-all"
+ ./build roms serprog rp2040 || $err "${_xm}: rp2040"
+ ./build roms serprog stm32 || $err "${_xm}: stm32"
+ x_ mv bin ../roms
) || $err "can't build rom images"
rm -Rf "${srcdir}" || $err "!rm -Rf ${srcdir}"
@@ -202,14 +205,6 @@ fetch_trees()
x_ rm -Rf tmp .git
}
-mkrom_images()
-{
- ./build roms all || $err "${_xm}: roms-all"
- ./build roms serprog rp2040 || $err "${_xm}: rp2040"
- ./build roms serprog stm32 || $err "${_xm}: stm32"
- x_ mv bin ../roms
-}
-
mkversion()
{
printf "revision: %s %s\n" "$projectname" "$version"