linux-firmware: Add mirrors
authordiizzyy <diizzyy@users.noreply.github.com>
Fri, 23 Sep 2016 11:41:41 +0000 (13:41 +0200)
committerJohn Crispin <john@phrozen.org>
Tue, 27 Sep 2016 15:50:22 +0000 (17:50 +0200)
Adds Google's mirrors as primary source and kernel.org as fallback.
Discussed in #lede-dev on Freenode

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
package/firmware/linux-firmware/Makefile

index 5656fd6..a1cf30a 100644 (file)
@@ -16,7 +16,9 @@ PKG_SOURCE_PROTO:=git
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_SOURCE_VERSION)
 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_SOURCE_SUBDIR)
-PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
+PKG_SOURCE_URL:=\
+       https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware \
+       https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
 PKG_MIRROR_MD5SUM:=762d7f4a87e944338c2871c953603377
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>