mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-21 19:26:22 +02:00
build/boot/roms: remove errant code
This commit is contained in:
@@ -79,17 +79,6 @@ buildrom() {
|
|||||||
fi
|
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
|
if [ $# -gt 0 ]; then
|
||||||
firstoption="${1}"
|
firstoption="${1}"
|
||||||
if [ "${firstoption}" = "help" ]; then
|
if [ "${firstoption}" = "help" ]; then
|
||||||
@@ -124,11 +113,7 @@ fi
|
|||||||
|
|
||||||
printf "Building %s ROM images\n" "${projectname}"
|
printf "Building %s ROM images\n" "${projectname}"
|
||||||
|
|
||||||
if [ "${firstoption}" = "release" ]; then
|
if [ "${firstoption}" = "all" ]; then
|
||||||
for boardname in $(listboards); do
|
|
||||||
buildrom_release "${boardname}" || die "build/roms: something went wrong"
|
|
||||||
done
|
|
||||||
elif [ "${firstoption}" = "all" ]; then
|
|
||||||
for boardname in $(listboards); do
|
for boardname in $(listboards); do
|
||||||
buildrom "${boardname}" || die "build/roms: something went wrong"
|
buildrom "${boardname}" || die "build/roms: something went wrong"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user