summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-11 05:33:43 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-11 05:57:49 +0100
commit029291e5495bf679cb36a7500b73ff9fa1dfff35 (patch)
tree40070b7bafd585d6d49a0771f714b68e48717fe3 /build
parentc8fb24bb7bd0918c4c684c13a3b2946ba67439eb (diff)
merge script/vendor/* into include/vendor.sh
stub it from the main build script the commands remain identical: ./vendor download arguments_here ./vendor inject arguments_here Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'build')
-rwxr-xr-xbuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/build b/build
index 3854f3e5..60877d8e 100755
--- a/build
+++ b/build
@@ -13,6 +13,8 @@ if [ "./${0##*/}" != "${0}" ] || [ ! -f "build" ] || [ -L "build" ]; then
fi
. "include/option.sh"
+. "include/vendor.sh"
+. "include/mrc.sh"
eval "$(setvars "" option aur_notice vdir relname src_dirname srcdir _xm \
target romdir mode)"
@@ -46,10 +48,13 @@ initcmd()
list) items "${buildpath}" ;;
version) mkversion ;;
release) shift 1; mkrelease $@ ;;
+ inject) shift 1; vendor_inject $@ ;;
+ download) shift 1; vendor_download $@ ;;
*)
option="${1}"
return 0 ;;
esac
+ set -u -e # some commands disable them. turn them on!
lbmk_exit 0
}
@@ -107,6 +112,8 @@ usage()
$(items "${buildpath}")
Special commands (consult $projectname documentation):
+ ./vendor inject
+ ./vendor download
./update release
./build dependencies distroname
(replace distroname with a filename from config/dependencies/)