trees and git.sh: tidy up global variables
some of the variables only initialised in git.sh are also used in the trees script, which is technically ok because git.sh is included from the trees script, but it makes more sense to declare them in the latter. Signed-off-by: Leah Rowe <leah@libreboot.org>audit2
parent
5b24c812a0
commit
cc090de51e
|
@ -2,8 +2,8 @@
|
|||
# Copyright (c) 2020-2021,2023-2024 Leah Rowe <leah@libreboot.org>
|
||||
# Copyright (c) 2022 Caleb La Grange <thonkpeasant@protonmail.com>
|
||||
|
||||
eval `setvars "" rev loc url bkup_url depend tree_depend mdir subhash subrepo \
|
||||
subrepo_bkup subfile subfile_bkup`
|
||||
eval `setvars "" loc url bkup_url subfile mdir subhash subrepo subrepo_bkup \
|
||||
depend subfile_bkup`
|
||||
|
||||
fetch_targets()
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ set -u -e
|
|||
cbmakeargs="UPDATED_SUBMODULES=1 CPUS=$XBMK_THREADS"
|
||||
eval `setvars "" xarch cdir defconfig cmakedir xlang mode makeargs elfdir cmd \
|
||||
project target target_dir targets xtree _f target1 bootstrapargs mkhelper \
|
||||
autoconfargs listfile autogenargs btype tree`
|
||||
autoconfargs listfile autogenargs btype tree rev tree_depend`
|
||||
|
||||
main()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue