mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 18:34:57 +02:00
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:
@@ -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/)
|
||||
|
||||
Reference in New Issue
Block a user