remove check_project() (always set variables)

in lbmk, we call check_project() to set variables
such as projectname, version, version date

this is unnecessary, because all main scripts use
this functionality anyway

do it by default

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2024-05-15 03:01:25 +01:00
parent ee2bf0d25a
commit e281966f22
4 changed files with 21 additions and 35 deletions
-2
View File
@@ -31,8 +31,6 @@ eval "$(setvars "" ${v} boards _displaymode _payload _keyboard all targets \
main()
{
check_project
while [ $# -gt 0 ]; do
case ${1} in
help)
-1
View File
@@ -37,7 +37,6 @@ main()
cfgsdir="config/${project}"
remkdir "${tmpgit%/*}"
check_project
_cmd="build_projects"
[ -f "config/${project}/build.list" ] && _cmd="build_targets"