xbmk: rename cv variables, for clarity

the new names are still a bit crap, but a bit better.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-10-04 08:41:25 +01:00
parent 1943dba608
commit 2cfaba181b
3 changed files with 14 additions and 14 deletions
+7 -7
View File
@@ -9,12 +9,12 @@ tmpromdel="$XBMK_CACHE/DO_NOT_FLASH"
nvm="util/nvmutil/nvm"
ifdtool="elf/coreboot/default/ifdtool"
cv="CONFIG_GBE_BIN_PATH"
if [ -n "$cvxbmk" ]; then
cv="$cv $cvxbmk"
checkvars="CONFIG_GBE_BIN_PATH"
if [ -n "$checkvarsxbmk" ]; then
checkvars="$checkvars $checkvarsxbmk"
fi
if [ -n "$cvchk" ]; then
cv="$cv $cvchk"
if [ -n "$checkvarschk" ]; then
checkvars="$checkvars $checkvarschk"
fi
archive=""
@@ -27,7 +27,7 @@ tmpromdir=""
board=""
xchanged=""
eval "`setvars "" $cv`"
eval "`setvars "" $checkvars`"
inject()
{
@@ -188,7 +188,7 @@ readkconfig()
scankconfig()
{
for cbc in $cv; do
for cbc in $checkvars; do
grep "$cbc" "$1" 2>/dev/null 1>>"$xbtmp/cbcfg" || :
done
}