summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-20 03:22:28 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-20 03:27:06 +0100
commitfd29c8fd1a962ff1e12a97ad1199e83d98c6390c (patch)
tree802106f50371f4b4b36153e985839d8ad893683b /script/trees
parent31f1e4dadfcc1ceecacec50dd2a14e63a44364bd (diff)
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 <leah@libreboot.org>
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees7
1 files changed, 3 insertions, 4 deletions
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()