Added mainline U-boot mirror as an option since it's completely failing for me ATM, perhaps it will be useful and faster for someone.

This commit is contained in:
Igor Pecovnik 2016-11-24 18:44:30 +01:00
parent e2c7fc5f25
commit 55c0424ea9

View File

@ -43,7 +43,11 @@ ARMBIAN_MAINLINE_KERNEL_VERSION='4.8'
MAINLINE_KERNEL_BRANCH=tag:v$(wget -qO- https://www.kernel.org/finger_banner | awk '{print $NF}' | grep -oE "^${ARMBIAN_MAINLINE_KERNEL_VERSION//./\\.}\.?[[:digit:]]*" | tail -1)
MAINLINE_KERNEL_DIR='linux-vanilla'
MAINLINE_UBOOT_SOURCE='git://git.denx.de/u-boot.git'
if [[ $USE_GITHUB_UBOOT_MIRROR == yes ]]; then
MAINLINE_UBOOT_SOURCE='https://github.com/RobertCNelson/u-boot'
else
MAINLINE_UBOOT_SOURCE='git://git.denx.de/u-boot.git'
fi
#MAINLINE_UBOOT_BRANCH="v$(git ls-remote git://git.denx.de/u-boot.git | grep -v rc | grep -v '\^' | tail -1 | cut -d'v' -f 2)"
MAINLINE_UBOOT_BRANCH='tag:v2016.11'
MAINLINE_UBOOT_DIR='u-boot'