diff options
author | Leah Rowe <leah@libreboot.org> | 2023-08-17 11:41:58 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-08-17 11:50:06 +0100 |
commit | 0848622799b8c627cd650d848ffa7d592d80b26d (patch) | |
tree | 54c9c187d704abb83ba5c7a40f4bce2355b0e165 /resources/scripts/build/module | |
parent | 8459e33bbcbe70cc08f449c3d46f1310c65680a1 (diff) |
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>
Diffstat (limited to 'resources/scripts/build/module')
-rwxr-xr-x | resources/scripts/build/module/bios_extract | 2 | ||||
-rwxr-xr-x | resources/scripts/build/module/flashrom | 2 | ||||
-rwxr-xr-x | resources/scripts/build/module/grub | 2 | ||||
-rwxr-xr-x | resources/scripts/build/module/memtest86plus | 2 | ||||
-rwxr-xr-x | resources/scripts/build/module/uefitool | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/resources/scripts/build/module/bios_extract b/resources/scripts/build/module/bios_extract index 77677fa1..8a40b5a0 100755 --- a/resources/scripts/build/module/bios_extract +++ b/resources/scripts/build/module/bios_extract @@ -25,7 +25,7 @@ set -u -e # -------------------------------------------------------------------- if [ ! -d "bios_extract/" ]; then - ./download bios_extract + ./fetch bios_extract fi printf "Building bios_extract\n" diff --git a/resources/scripts/build/module/flashrom b/resources/scripts/build/module/flashrom index 37f57ce0..a4dbe35d 100755 --- a/resources/scripts/build/module/flashrom +++ b/resources/scripts/build/module/flashrom @@ -29,7 +29,7 @@ set -u -e # -------------------------------------------------------------------- if [ ! -d "flashrom/" ]; then - ./download flashrom + ./fetch flashrom fi printf "Building flashrom\n" diff --git a/resources/scripts/build/module/grub b/resources/scripts/build/module/grub index 5cf58a67..edad6b2a 100755 --- a/resources/scripts/build/module/grub +++ b/resources/scripts/build/module/grub @@ -27,7 +27,7 @@ main() printf "Building GRUB\n" if [ ! -d "grub/" ]; then - ./download grub || exit 1 + ./fetch grub || exit 1 fi build_grub diff --git a/resources/scripts/build/module/memtest86plus b/resources/scripts/build/module/memtest86plus index 7fc46be9..45727b77 100755 --- a/resources/scripts/build/module/memtest86plus +++ b/resources/scripts/build/module/memtest86plus @@ -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 diff --git a/resources/scripts/build/module/uefitool b/resources/scripts/build/module/uefitool index 6adf1de2..891d8bf8 100755 --- a/resources/scripts/build/module/uefitool +++ b/resources/scripts/build/module/uefitool @@ -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" |