All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lucas Zampar Bernardi <lucas.zampar@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Added support for linux headers for testing versions to build cross-compile tools
Date: Tue, 25 Feb 2014 10:22:08 -0300	[thread overview]
Message-ID: <1393334528-10441-1-git-send-email-lucas.zampar@gmail.com> (raw)

From: Lucas Zampar Bernardi <lucas@writesys.com.br>


This patch add support to buildroot compile an internal cross-compiler using linux hearders with releases candidates versions (testing).
---
 package/linux-headers/linux-headers.mk |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk
index 086e5d5..d6e9dbb 100644
--- a/package/linux-headers/linux-headers.mk
+++ b/package/linux-headers/linux-headers.mk
@@ -13,6 +13,12 @@ LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/
 else
 LINUX_HEADERS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v3.x/
 endif
+
+# release candidates are in testing/ subdir
+ifneq ($(findstring -rc,$(LINUX_HEADERS_VERSION)),)
+LINUX_HEADERS_SITE := $(LINUX_HEADERS_SITE)testing/
+endif
+
 LINUX_HEADERS_SOURCE = linux-$(LINUX_HEADERS_VERSION).tar.xz
 
 LINUX_HEADERS_INSTALL_STAGING = YES
-- 
1.7.9.5

             reply	other threads:[~2014-02-25 13:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 13:22 Lucas Zampar Bernardi [this message]
2014-04-20  9:07 ` [Buildroot] [PATCH] Added support for linux headers for testing versions to build cross-compile tools Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393334528-10441-1-git-send-email-lucas.zampar@gmail.com \
    --to=lucas.zampar@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.