summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}