diff --git a/include/rom.sh b/include/rom.sh index c74baf2..a0a1c9e 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -113,6 +113,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 }