build/boot/roms: remove errant code
parent
33bbb36dc4
commit
0c33438063
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue