summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2022-12-05 00:40:58 +0000
committerLeah Rowe <leah@libreboot.org>2022-12-05 00:40:58 +0000
commit0c334380637652ae917404e7f404f54df55d54bf (patch)
tree0eede231106fac77423a61ec779dd350619426ce
parent33bbb36dc41383b64044a6e39cbf90e770c84a8f (diff)
build/boot/roms: remove errant code
-rwxr-xr-xresources/scripts/build/boot/roms17
1 files changed, 1 insertions, 16 deletions
diff --git a/resources/scripts/build/boot/roms b/resources/scripts/build/boot/roms
index c526c268..d4368689 100755
--- a/resources/scripts/build/boot/roms
+++ b/resources/scripts/build/boot/roms
@@ -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