mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 15:29:35 +02:00
download/coreboot: split main()
This commit is contained in:
@@ -39,9 +39,17 @@ main()
|
|||||||
list_supported_boards
|
list_supported_boards
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -f build_error ] && rm -f build_error
|
[ -f build_error ] && rm -f build_error
|
||||||
|
|
||||||
|
fetch_coreboot_trees
|
||||||
|
|
||||||
|
rm -f "build_error"
|
||||||
|
printf "\n\n"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
fetch_coreboot_trees()
|
||||||
|
{
|
||||||
rm -f resources/coreboot/*/seen
|
rm -f resources/coreboot/*/seen
|
||||||
|
|
||||||
printf "Downloading coreboot and (if available) applying patches\n"
|
printf "Downloading coreboot and (if available) applying patches\n"
|
||||||
@@ -62,10 +70,6 @@ main()
|
|||||||
done
|
done
|
||||||
|
|
||||||
rm -f resources/coreboot/*/seen
|
rm -f resources/coreboot/*/seen
|
||||||
|
|
||||||
rm -f "build_error"
|
|
||||||
printf "\n\n"
|
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
downloadfor() {
|
downloadfor() {
|
||||||
|
|||||||
Reference in New Issue
Block a user