build: remove mkrom_images

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit2-merge1
Leah Rowe 2024-05-15 01:41:19 +01:00 committed by Leah Rowe
parent 6ab8c2c446
commit c57dfefe91
1 changed files with 4 additions and 9 deletions

13
build
View File

@ -168,7 +168,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}"
@ -195,14 +198,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"