Patchwork [v2,09/12] kernel-headers: Use ../testing URL for kernel release candidates

login
register
mail settings
Submitter Mischa Jonker
Date April 24, 2013, 10:13 a.m.
Message ID <1366798403-6984-10-git-send-email-mjonker@synopsys.com>
Download mbox | patch
Permalink /patch/239145/
State Changes Requested
Headers show

Comments

Mischa Jonker - April 24, 2013, 10:13 a.m.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
---
 toolchain/kernel-headers/kernel-headers.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Patch

diff --git a/toolchain/kernel-headers/kernel-headers.mk b/toolchain/kernel-headers/kernel-headers.mk
index adf7bc4..5462d5b 100644
--- a/toolchain/kernel-headers/kernel-headers.mk
+++ b/toolchain/kernel-headers/kernel-headers.mk
@@ -31,6 +31,9 @@  LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR:/=)/linux/kernel/v2.6/
 else
 LINUX_HEADERS_SITE:=$(BR2_KERNEL_MIRROR:/=)/linux/kernel/v3.x/
 endif
+ifeq ($(findstring rc,$(DEFAULT_KERNEL_HEADERS)),rc)
+LINUX_HEADERS_SITE:=$(LINUX_HEADERS_SITE)testing/
+endif
 LINUX_HEADERS_SOURCE:=linux-$(LINUX_HEADERS_VERSION).tar.bz2
 LINUX_HEADERS_CAT:=$(BZCAT)
 LINUX_HEADERS_UNPACK_DIR:=$(TOOLCHAIN_DIR)/linux-$(LINUX_HEADERS_VERSION)