[Buildroot] [PATCH] linux: Fix URL for release candidate versions

Luis Araneda luaraneda at gmail.com
Tue Jul 25 03:14:01 UTC 2017


Starting with 4.12-rc1, tarballs are generated by cgit
directly from Linus's tree.
This method also applies to older release candidates.

Signed-off-by: Luis Araneda <luaraneda at gmail.com>
---
 linux/linux.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index 032d64fc2..e8b779f7e 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -43,9 +43,10 @@ LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x
 else ifeq ($(findstring x4.,x$(LINUX_VERSION)),x4.)
 LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v4.x
 endif
-# release candidates are in testing/ subdir
+# Release candidates tarballs are generated automatically from a git tag
 ifneq ($(findstring -rc,$(LINUX_VERSION)),)
-LINUX_SITE := $(LINUX_SITE)/testing
+LINUX_SITE := https://git.kernel.org/torvalds/t
+LINUX_SOURCE = linux-$(LINUX_VERSION).tar.gz
 endif # -rc
 endif
 
-- 
2.13.3



More information about the buildroot mailing list