mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
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>
This commit is contained in:
+3
-4
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user