aboutsummaryrefslogtreecommitdiff
path: root/linux/linux.mk
diff options
context:
space:
mode:
authorGravatar Angelo Compagnucci <angelo.compagnucci@gmail.com>2019-11-20 19:58:53 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2019-11-20 21:24:21 +0100
commit988d604bb7976fd1b50db87c99d22b928cf68bc6 (patch)
tree2066c108a0da12837b27325a1637ae58b6575dc9 /linux/linux.mk
parente958223603696de445c2d3c74f75dccbea13affd (diff)
downloadbuildroot-988d604bb7976fd1b50db87c99d22b928cf68bc6.tar.gz
buildroot-988d604bb7976fd1b50db87c99d22b928cf68bc6.tar.bz2
linux: change CIP kernel download method
Downloading from https a tarball is faster than cloning a git repo. If needed, BR2_LINUX_KERNEL_CUSTOM_GIT can be used as a fallback mechanism to downlad the CIP kernel with git. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'linux/linux.mk')
-rw-r--r--linux/linux.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/linux.mk b/linux/linux.mk
index 89ac31c2e1..c45db4d24f 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -30,7 +30,8 @@ else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y)
LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
LINUX_SITE_METHOD = svn
else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION),y)
-LINUX_SITE = git://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git
+LINUX_SOURCE = linux-cip-$(LINUX_VERSION).tar.gz
+LINUX_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot
else ifneq ($(findstring -rc,$(LINUX_VERSION)),)
# Since 4.12-rc1, -rc kernels are generated from cgit. This also works for
# older -rc kernels.