move cfgsdir/datadir variables to lib.sh
it's also used from script/roms, in addition to trees move these variables to a common file used everywhere Signed-off-by: Leah Rowe <leah@libreboot.org>20240612_branch
parent
ba36f26d62
commit
810ad480da
|
@ -42,7 +42,7 @@ setvars()
|
|||
}
|
||||
|
||||
eval "$(setvars "" xbmk_release tmpdir _nogit version board boarddir relname \
|
||||
versiondate threads projectname projectsite aur_notice)"
|
||||
versiondate threads projectname projectsite aur_notice cfgsdir datadir)"
|
||||
|
||||
read -r projectname < projectname || :
|
||||
read -r projectsite < projectsite || :
|
||||
|
|
|
@ -9,9 +9,9 @@ set -u -e
|
|||
. "include/lib.sh"
|
||||
. "include/git.sh"
|
||||
|
||||
eval "$(setvars "" xarch cfgsdir cdir config config_name xlang mode makeargs \
|
||||
eval "$(setvars "" xarch cdir config config_name xlang mode makeargs \
|
||||
listfile project target target_dir targets tree _f target1 bootstrapargs \
|
||||
autoconfargs cmakedir elfdir autogenargs xtree datadir)"
|
||||
autoconfargs cmakedir elfdir autogenargs xtree)"
|
||||
|
||||
main()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue