summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild4
-rwxr-xr-xscript/trees7
l---------update1
l---------vendor1
4 files changed, 7 insertions, 6 deletions
diff --git a/build b/build
index 3194397f..033cb433 100755
--- a/build
+++ b/build
@@ -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
diff --git a/update b/update
new file mode 120000
index 00000000..c795b054
--- /dev/null
+++ b/update
@@ -0,0 +1 @@
+build \ No newline at end of file
diff --git a/vendor b/vendor
new file mode 120000
index 00000000..c795b054
--- /dev/null
+++ b/vendor
@@ -0,0 +1 @@
+build \ No newline at end of file