mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-12 22:42:54 +02:00
remove download scripts, consolidate into script
most of them were just calling the gitclone script, so remove them. the grub script was treating gnulib as a dependency. i've now added the ability to grab 1 dependency, in the gitclone script (it should be expanded later to support multiple dependencies) the gitclone script has been renamed to "fetch". the "fetch_trees" script does more or less the same thing, but calls "fetch" and handles multiple revisions if a project needs that this is more efficient, and slightly reduces the code size of lbmk! Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -25,7 +25,7 @@ set -u -e
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
if [ ! -d "bios_extract/" ]; then
|
||||
./download bios_extract
|
||||
./fetch bios_extract
|
||||
fi
|
||||
|
||||
printf "Building bios_extract\n"
|
||||
|
||||
@@ -29,7 +29,7 @@ set -u -e
|
||||
# --------------------------------------------------------------------
|
||||
|
||||
if [ ! -d "flashrom/" ]; then
|
||||
./download flashrom
|
||||
./fetch flashrom
|
||||
fi
|
||||
|
||||
printf "Building flashrom\n"
|
||||
|
||||
@@ -27,7 +27,7 @@ main()
|
||||
printf "Building GRUB\n"
|
||||
|
||||
if [ ! -d "grub/" ]; then
|
||||
./download grub || exit 1
|
||||
./fetch grub || exit 1
|
||||
fi
|
||||
|
||||
build_grub
|
||||
|
||||
@@ -31,7 +31,7 @@ set -u -e
|
||||
printf "Building MemTest86+\n"
|
||||
|
||||
if [ ! -d "memtest86plus/" ]; then
|
||||
./download memtest86plus
|
||||
./fetch memtest86plus
|
||||
fi
|
||||
|
||||
make -j$(nproc) -BC memtest86plus
|
||||
|
||||
@@ -24,7 +24,7 @@ set -u -e
|
||||
main()
|
||||
{
|
||||
if [ ! -d "uefitool" ]; then
|
||||
./download uefitool || fail "cannot download uefitool"
|
||||
./fetch uefitool || fail "cannot download uefitool"
|
||||
fi
|
||||
|
||||
printf "Building uefitool (UEFIExtract)\n"
|
||||
|
||||
Reference in New Issue
Block a user