added BUILDROOTMIRROR variable to setup.env, changed backup buildroot cache to github

This commit is contained in:
Steven Noble
2015-11-23 14:57:23 -08:00
parent e002f80aa7
commit 358702c0ef
3 changed files with 7 additions and 6 deletions

View File

@@ -84,9 +84,9 @@ BR2_HOST_DIR="$(BASE_DIR)/host"
#
# Mirrors and Download locations
#
BR2_PRIMARY_SITE="http://switch-nfs/export/buildroot-download-cache/dl"
BR2_PRIMARY_SITE_ONLY=y
BR2_BACKUP_SITE="http://sources.buildroot.net/"
BR2_PRIMARY_SITE="$(BUILDROOTMIRROR)"
BR2_PRIMARY_SITE_ONLY=n
BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl"
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
BR2_DEBIAN_MIRROR="http://ftp.debian.org"

View File

@@ -59,9 +59,9 @@ BR2_HOST_DIR="$(BASE_DIR)/host"
#
# Mirrors and Download locations
#
BR2_PRIMARY_SITE="http://switch-nfs/export/buildroot-download-cache/dl"
BR2_PRIMARY_SITE="$(BUILDROOTMIRROR)"
# BR2_PRIMARY_SITE_ONLY is not set
BR2_BACKUP_SITE="http://sources.buildroot.net/"
BR2_BACKUP_SITE="https://raw.githubusercontent.com/opennetworklinux/buildroot-download-cache/master/dl"
BR2_KERNEL_MIRROR="http://www.kernel.org/pub/"
BR2_GNU_MIRROR="http://ftp.gnu.org/pub/gnu"
BR2_DEBIAN_MIRROR="http://ftp.debian.org"

View File

@@ -29,5 +29,6 @@ $ONL/tools/submodules.py $ONL sm/bigcode
# Version files
$ONL/tools/make-versions.py --import-file=$ONL/tools/onlvi --class-name=OnlVersionImplementation --output-dir $ONL/make
# buildroot mirror
export BUILDROOTMIRROR="http://switch-nfs/export/buildroot-download-cache/dl"