diff options
-rwxr-xr-x | build | 4 | ||||
-rwxr-xr-x | script/trees | 7 | ||||
l--------- | update | 1 | ||||
l--------- | vendor | 1 |
4 files changed, 7 insertions, 6 deletions
@@ -1,8 +1,6 @@ #!/usr/bin/env sh # SPDX-License-Identifier: GPL-3.0-or-later -# Copyright (c) 2014-2015,2020-2024 Leah Rowe <leah@libreboot.org> -# Copyright (c) 2015 Patrick "P. J." McDermott <pj@pehjota.net> -# Copyright (c) 2015-2016 Klemens Nanni <contact@autoboot.org> +# Copyright (c) 2020-2024 Leah Rowe <leah@libreboot.org> # Copyright (c) 2022 Caleb La Grange <thonkpeasant@protonmail.com> set -u -e diff --git a/script/trees b/script/trees index 6bf00e18..1c38aa48 100755 --- a/script/trees +++ b/script/trees @@ -17,7 +17,7 @@ eval `setvars "" xarch srcdir premake cmakedir xlang mode makeargs elfdir cmd \ defconfig postmake mkhelpercfg dry dest_dir mdir cleanargs gccver gccfull \ gnatver gnatfull gccdir gnatdir`; badhash="n" -main() +tree() { while getopts f:b:m:u:c:x:s:l:n:d: option; do [ -n "$_f" ] && $err "only one flag is permitted" @@ -302,7 +302,8 @@ handle_makefile() $dry x_ cp "$srcdir/$_copy" "$defconfig" [ -e "$srcdir/.git" ] && [ "$project" = "u-boot" ] && \ - [ "$mode" = "distclean" ] && $dry x_ git -C "$srcdir" $cleanargs clean -fdx; : + [ "$mode" = "distclean" ] && \ + $dry x_ git -C "$srcdir" $cleanargs clean -fdx; : } run_make_command() @@ -350,6 +351,6 @@ copy_elf() done < "$listfile"; x_ make clean -C "$srcdir" $cleanargs } -main "$@" || exit 0 +tree "$@" || exit 0 . "$mkhelpercfg" $cmd @@ -0,0 +1 @@ +build
\ No newline at end of file @@ -0,0 +1 @@ +build
\ No newline at end of file |