tree.sh: simplify configure_project()

Signed-off-by: Leah Rowe <leah@libreboot.org>
25.06_branch^2
Leah Rowe 2025-05-27 14:32:34 +01:00
parent 7db36d9038
commit dd0f3d846f
1 changed files with 1 additions and 2 deletions

View File

@ -122,8 +122,7 @@ configure_project()
eval "`setvars "" cleanargs build_depend autoconfargs xtree postmake \
makeargs btype mkhelper bootstrapargs premake release xlang xarch \
badhash`"
_tcfg="$1/target.cfg"
[ -f "$_tcfg" ] || btype="auto"
_tcfg="$1/target.cfg" && [ ! -f "$_tcfg" ] && btype="auto"
e "$datadir/mkhelper.cfg" f && eval "`setcfg "$datadir/mkhelper.cfg"`"
while e "$_tcfg" f || [ "$cmd" != "build_project" ]; do