mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-14 15:29:35 +02:00
handle project downloads in main lbmk script
this means the unified /tmp handling is now provided for in both the former "fetch" and "fetch_trees" script, which are now (respectively): ./update project repo ./update project trees if the fetch scripts weren't cleaning /tmp before, they now are, because lbmk handles it Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -157,11 +157,11 @@ EOF
|
||||
build_dependencies()
|
||||
{
|
||||
[ -d ${cbdir} ] || \
|
||||
./fetch_trees coreboot ${cbdir##*/} || \
|
||||
./update project trees coreboot ${cbdir##*/} || \
|
||||
err "build_dependencies: can't fetch ${cbdir}"
|
||||
for d in uefitool biosutilities bios_extract me_cleaner; do
|
||||
[ -d "${d}" ] && continue
|
||||
./fetch "${d}" || \
|
||||
./update project repo "${d}" || \
|
||||
err "build_dependencies: can't fetch ${d}"
|
||||
done
|
||||
[ -f uefitool/uefiextract ] || \
|
||||
|
||||
@@ -56,10 +56,10 @@ check_board()
|
||||
build_dependencies()
|
||||
{
|
||||
if [ ! -d me_cleaner ]; then
|
||||
./fetch me_cleaner || \
|
||||
./update project repo me_cleaner || \
|
||||
err "build_dependencies: can't fetch me_cleaner"
|
||||
elif [ ! -d "${cbdir}" ]; then
|
||||
./fetch_trees coreboot default || \
|
||||
./update project trees coreboot default || \
|
||||
err "build_dependencies: can't fetch coreboot"
|
||||
elif [ ! -f "${ifdtool}" ]; then
|
||||
make -C "${ifdtool%/ifdtool}" || \
|
||||
|
||||
@@ -123,7 +123,8 @@ detect_board()
|
||||
|
||||
build_dependencies()
|
||||
{
|
||||
[ -d "${cbdir}" ] || ./fetch_trees coreboot default
|
||||
[ -d "${cbdir}" ] || ./update project trees coreboot default || \
|
||||
err "build_dependencies: could not download coreboot/default"
|
||||
./build coreboot utils default || \
|
||||
err "build_dependencies: could not build cbutils"
|
||||
./update blobs download ${board} || \
|
||||
|
||||
@@ -71,7 +71,7 @@ check_existing()
|
||||
|
||||
build_dependencies()
|
||||
{
|
||||
[ -d "${cbdir}/" ] || ./fetch_trees coreboot default || \
|
||||
[ -d "${cbdir}/" ] || ./update project trees coreboot default || \
|
||||
err "build_dependencies: cannot fetch coreboot/default"
|
||||
./build coreboot utils default || \
|
||||
err "build_dependencies: cannot build cbutils/default"
|
||||
|
||||
Reference in New Issue
Block a user