* [Buildroot] [PATCH] Added support for linux headers for testing versions to build cross-compile tools
2014-02-25 13:22 [Buildroot] [PATCH] Added support for linux headers for testing versions to build cross-compile tools Lucas Zampar Bernardi
@ 2014-04-20 9:07 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2014-04-20 9:07 UTC (permalink / raw)
To: buildroot
Dear Lucas Zampar Bernardi,
On Tue, 25 Feb 2014 10:22:08 -0300, Lucas Zampar Bernardi wrote:
> 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
> +
Thanks for your patch, and sorry for the slow response. However,
instead of having a special case for -rc kernels, I'd prefer to either
have a way of specifying a custom Linux kernel tarball for
linux-headers, or even better, a way of using the same kernel headers
source code as the ones used to build the Linux kernel package itself.
So, for now, I'll mark this specific patch as Rejected, but I'll
definitely welcome improvements in one of the two directions proposed
above.
Thanks again!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread