summaryrefslogtreecommitdiff
path: root/include/init.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-07 19:23:32 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-07 19:23:32 +0100
commit1b0afdcea226ebc4e5f46c50fc21aa835b52ada9 (patch)
treeec32d46e0b86bcfb610bd2d93b703e79a3cfbc53 /include/init.sh
parent570f1417a80224cf73a57febf126bd80e908b32e (diff)
init.sh: also allow XBMK_RELEASE=Y or N
as opposed to =n or =y Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/init.sh')
-rw-r--r--include/init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/init.sh b/include/init.sh
index a322370b..e5e3f564 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -139,6 +139,8 @@ xbmk_set_env()
# if "y": a coreboot target won't be built if target.cfg says release="n"
# (this is used to exclude certain build targets from releases)
[ -z "${XBMK_RELEASE+x}" ] && export XBMK_RELEASE="n"
+ [ "$XBMK_RELEASE" = "N" ] && export XBMK_RELEASE="n"
+ [ "$XBMK_RELEASE" = "Y" ] && export XBMK_RELEASE="y"
[ "$XBMK_RELEASE" = "y" ] || export XBMK_RELEASE="n"
[ -z "${XBMK_THREADS+x}" ] && export XBMK_THREADS=1