From fd29c8fd1a962ff1e12a97ad1199e83d98c6390c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 20 Jul 2024 03:22:28 +0100 Subject: quackboot (same idea as klompboot), from audit6 this is based directly on the audit6 final revision. same idea as klompboot. remove u-boot and arm support, remove pico-serprog, remove support for making release archives, and basically see how small the build system can possible get. quackboot *beats* the very first klompboot, at 790 lines, because klompboot 1 was just over 800 lines. klompboot 2 was 701 lines. vendor file logic is about 200 sloc so the next klompboot will be about 600 lines. this is the very first quackboot. Signed-off-by: Leah Rowe --- script/trees | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'script') diff --git a/script/trees b/script/trees index ce6da422..4152e0b9 100755 --- a/script/trees +++ b/script/trees @@ -90,7 +90,7 @@ handle_defconfig() { target_dir="$configdir/$target" - [ -f "CHANGELOG" ] || fetch_project "$project" + fetch_project "$project" configure_project "$target_dir" || return 0 x_ mkdir -p "$elfdir/$target" @@ -136,7 +136,6 @@ configure_project() && break; _tcfg="${_tcfg%/*/target.cfg}/$tree/target.cfg" done - [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1 [ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1 [ -z "$mode" ] && build_dependencies @@ -144,12 +143,12 @@ configure_project() mdir="$PWD/config/submodule/$project" [ -n "$tree" ] && mdir="$mdir/$tree" - [ -f "CHANGELOG" ] || check_project_hashes + check_project_hashes [ "$mode" = "fetch" ] || x_ ./update trees -f "$project" $target [ "$mode" = "fetch" ] || return 0 - [ -f "CHANGELOG" ] && return 1; fetch_${cmd#build_}; return 1 + fetch_${cmd#build_}; return 1 } build_dependencies() -- cgit v1.2.1