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>
This commit is contained in:
Leah Rowe
2024-05-11 05:33:43 +01:00
parent c8fb24bb7b
commit 029291e549
3 changed files with 231 additions and 249 deletions
+7
View File
@@ -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/)