build/boot/roms: remove errant code

fsdg20230625
Leah Rowe 2022-12-05 00:40:58 +00:00
parent 33bbb36dc4
commit 0c33438063
1 changed files with 1 additions and 16 deletions

View File

@ -79,17 +79,6 @@ buildrom() {
fi
}
buildrom_release() {
board="$1"
if [ -d "resources/coreboot/${board}/" ]; then
./build boot roms_helper "${board}"
else
die "\nbuild/roms: target not defined in the build system: %s\n" "${board}"
fi
}
if [ $# -gt 0 ]; then
firstoption="${1}"
if [ "${firstoption}" = "help" ]; then
@ -124,11 +113,7 @@ fi
printf "Building %s ROM images\n" "${projectname}"
if [ "${firstoption}" = "release" ]; then
for boardname in $(listboards); do
buildrom_release "${boardname}" || die "build/roms: something went wrong"
done
elif [ "${firstoption}" = "all" ]; then
if [ "${firstoption}" = "all" ]; then
for boardname in $(listboards); do
buildrom "${boardname}" || die "build/roms: something went wrong"
done