diff --git a/configuration.sh b/configuration.sh index d2c256dbe4..d739193953 100644 --- a/configuration.sh +++ b/configuration.sh @@ -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'