From b9662fbe3634af2946f0423a021c4f04c983c169 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 1 Sep 2023 08:30:08 +0100 Subject: 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 --- script/handle/make/config | 4 ++-- script/handle/make/file | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'script/handle') 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" -- cgit v1.2.1