* [Buildroot] How to control kernel header version?
@ 2014-06-27 10:37 bruce bushby
2014-06-27 18:30 ` Thomas Petazzoni
2014-07-01 18:01 ` Arnout Vandecappelle
0 siblings, 2 replies; 3+ messages in thread
From: bruce bushby @ 2014-06-27 10:37 UTC (permalink / raw)
To: buildroot
Hi
I wanted to ask how I can control kernel header version? I've tried various
configs but so far I can't prevent buildroot using the latest "stable"
version of kernel headers.
My kernel config is:
# Kernel headers
#BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_VERSION="master"
BR2_LINUX_KERNEL_CUSTOM_GIT=y
BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/torvalds/linux.git"
BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3493860c76eb4e5b222f1016d1458615afac9fc4"
BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000"
BR2_LINUX_KERNEL_APPENDED_UIMAGE=n
BR2_LINUX_KERNEL_DTS_SUPPORT=y
BR2_LINUX_KERNEL_APPENDED_DTB=n
BR2_LINUX_KERNEL_USE_INTREE_DTS=y
BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-pcduino3.dts"
I think the current master is 3.16.0-rc3 .... but I keep seeing buildroot
downloading linux-headers-3.15.1 (current stable)
Is there a way to force using the headers from the the same source as
"KERNEL_CUSTOM_REPO" ?
Thanks
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140627/940b8c2b/attachment.html>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] How to control kernel header version?
2014-06-27 10:37 [Buildroot] How to control kernel header version? bruce bushby
@ 2014-06-27 18:30 ` Thomas Petazzoni
2014-07-01 18:01 ` Arnout Vandecappelle
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2014-06-27 18:30 UTC (permalink / raw)
To: buildroot
Hello,
On Fri, 27 Jun 2014 11:37:30 +0100, bruce bushby wrote:
> # Kernel headers
> #BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
>
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_VERSION="master"
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/torvalds/linux.git"
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3493860c76eb4e5b222f1016d1458615afac9fc4"
> BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
> BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000"
> BR2_LINUX_KERNEL_APPENDED_UIMAGE=n
> BR2_LINUX_KERNEL_DTS_SUPPORT=y
> BR2_LINUX_KERNEL_APPENDED_DTB=n
> BR2_LINUX_KERNEL_USE_INTREE_DTS=y
> BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-pcduino3.dts"
>
>
> I think the current master is 3.16.0-rc3 .... but I keep seeing buildroot
> downloading linux-headers-3.15.1 (current stable)
>
> Is there a way to force using the headers from the the same source as
> "KERNEL_CUSTOM_REPO" ?
No, not at this time. But using the 3.15 kernel headers is perfectly
fine if you actually run a 3.15, 3.16 or any other later kernel
version. So generally, people use a moderately recent, but not
necessarily latest kernel version of the kernel headers, as there's no
need for the kernel headers to match the kernel version. They only need
to be at least older or of the same version.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] How to control kernel header version?
2014-06-27 10:37 [Buildroot] How to control kernel header version? bruce bushby
2014-06-27 18:30 ` Thomas Petazzoni
@ 2014-07-01 18:01 ` Arnout Vandecappelle
1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2014-07-01 18:01 UTC (permalink / raw)
To: buildroot
On 27/06/14 12:37, bruce bushby wrote:
> Hi
>
> I wanted to ask how I can control kernel header version? I've tried various
> configs but so far I can't prevent buildroot using the latest "stable" version
> of kernel headers.
>
>
> My kernel config is:
>
> # Kernel headers
> #BR2_LINUX_KERNEL_SAME_AS_HEADERS=y
>
> # Kernel
> BR2_LINUX_KERNEL=y
> BR2_LINUX_KERNEL_VERSION="master"
> BR2_LINUX_KERNEL_CUSTOM_GIT=y
> BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/torvalds/linux.git"
> BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="3493860c76eb4e5b222f1016d1458615afac9fc4"
> BR2_LINUX_KERNEL_DEFCONFIG="multi_v7"
> BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x40008000"
> BR2_LINUX_KERNEL_APPENDED_UIMAGE=n
> BR2_LINUX_KERNEL_DTS_SUPPORT=y
> BR2_LINUX_KERNEL_APPENDED_DTB=n
> BR2_LINUX_KERNEL_USE_INTREE_DTS=y
> BR2_LINUX_KERNEL_INTREE_DTS_NAME="sun7i-a20-pcduino3.dts"
>
>
> I think the current master is 3.16.0-rc3 .... but I keep seeing buildroot
> downloading linux-headers-3.15.1 (current stable)
For this particular case, you should be able to set
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="3.16-rc3"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_15=y
Regards,
Arnout
>
> Is there a way to force using the headers from the the same source as
> "KERNEL_CUSTOM_REPO" ?
>
>
>
> Thanks
> Bruce
>
>
>
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-01 18:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-27 10:37 [Buildroot] How to control kernel header version? bruce bushby
2014-06-27 18:30 ` Thomas Petazzoni
2014-07-01 18:01 ` Arnout Vandecappelle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox