summaryrefslogtreecommitdiff
path: root/script/handle/make
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-09-01 08:30:08 +0100
committerLeah Rowe <leah@libreboot.org>2023-09-01 08:30:08 +0100
commitb9662fbe3634af2946f0423a021c4f04c983c169 (patch)
tree564ffed7bdfe1ab734d5d15072e5dfe06e8b15a6 /script/handle/make
parent12b33eb8c18b37546599feec908b9acd829f0029 (diff)
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>
Diffstat (limited to 'script/handle/make')
-rwxr-xr-xscript/handle/make/config4
-rwxr-xr-xscript/handle/make/file2
2 files changed, 3 insertions, 3 deletions
diff --git a/script/handle/make/config b/script/handle/make/config
index 5af7e9e7..e7016c85 100755
--- a/script/handle/make/config
+++ b/script/handle/make/config
@@ -139,7 +139,7 @@ handle_dependencies()
codedir="${project}/${tree}"
[ -d "${codedir}" ] || \
- ./fetch_trees "${project}" "${target}" || \
+ ./update project trees "${project}" "${target}" || \
fail "handle_dependencies: can't fetch ${project}/${target}"
# u-boot and coreboot are both compiled with coreboot's crossgcc
@@ -166,7 +166,7 @@ check_cross_compiler()
# only true if not building coreboot:
ctarget="${cbdir#coreboot/}"
[ -d "${cbdir}" ] || \
- ./fetch_trees coreboot ${ctarget} || \
+ ./update project trees coreboot ${ctarget} || \
fail "check_cross_compiler: can't fetch coreboot/${ctarget}"
if [ "${arch}" = "x86_32" ] || [ "${arch}" = "x86_64" ]; then
diff --git a/script/handle/make/file b/script/handle/make/file
index 855ea1c4..dcb2fc6b 100755
--- a/script/handle/make/file
+++ b/script/handle/make/file
@@ -52,7 +52,7 @@ main()
handle_dependencies()
{
- [ -d "${project}" ] || ./fetch "${project%/*}" || \
+ [ -d "${project}" ] || ./update project repo "${project%/*}" || \
err "handle_dependencies: can't fetch ${project%/*}"
[ -d "${project}" ] || \
err "handle_dependencies: ${project%/*} not downloaded"