summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 01:41:19 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 01:41:19 +0100
commitc149cbb8843b9c1af45e8ebb3ecafb764dc8d529 (patch)
treee92d9102d1246fa3ebdcd48f0daa8cc00258126b /build
parent4135ce5e27492c9dba542f2ca8b620b6c1a4e858 (diff)
build: remove mkrom_images
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-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"