u-boot: Do not build u-boot if $UBOOT_VERSION is not specified

This is especially useful for WeTek Play, which uses U-Boot bootloader,
but currently doesn't build it as a part of OpenELEC.
This commit is contained in:
Alex Deryskyba 2014-12-23 01:23:21 +01:00
parent 9d468222d8
commit 6c06d89095

View File

@ -25,6 +25,8 @@ elif [ "$UBOOT_VERSION" = "imx6-cuboxi" ]; then
PKG_VERSION="imx6-a06fada"
PKG_SITE="http://imx.solid-run.com/wiki/index.php?title=Building_the_kernel_and_u-boot_for_the_CuBox-i_and_the_HummingBoard"
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
else
exit 0
fi
PKG_REV="1"
PKG_ARCH="arm"