summaryrefslogtreecommitdiff
path: root/include/rom.sh
diff options
context:
space:
mode:
authorLeah Rowe <info@minifree.org>2024-07-08 02:21:52 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-08 02:22:22 +0100
commite850c06bd209e592ec015d52e7202a00e56d7644 (patch)
tree6137dd38951627d28c6f6b4c90d99996849a6554 /include/rom.sh
parent2f3cc5d379089d3def876fdc276c321236b0698f (diff)
rom.sh: only make rom tarball if release=y
Signed-off-by: Leah Rowe <info@minifree.org>
Diffstat (limited to 'include/rom.sh')
-rw-r--r--include/rom.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 7ffd685d..312e3b2a 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -117,6 +117,6 @@ add_uboot()
mkcoreboottar()
{
- [ "$target" = "$tree" ] && return 0
- [ "$XBMK_RELEASE" = "y" ] && mkrom_tarball "bin/$target"; return 0
+ [ "$target" = "$tree" ] && return 0; [ "$XBMK_RELEASE" = "y" ] && \
+ [ "$release" != "n" ] && mkrom_tarball "bin/$target"; return 0
}