[Buildroot] [PATCH 2/3] defconfigs: use the new headers-version-same-as-kernel-version option

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jan 20 22:07:27 UTC 2016


Hello,

On Wed, 20 Jan 2016 22:58:21 +0100, Yann E. MORIN wrote:

> Well, I think it may be worse than that, in fact... Let's see what
> happens with a trivial defconfig from before this patch, with the
> default toolchain and the kernel settings:
> 
>     BR2_LINUX_KERNEL=y
> 
> This would give:
> 
>     BR2_KERNEL_HEADERS_4_4=y
>     BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4=y
>     BR2_TOOLCHAIN_HEADERS_AT_LEAST="4.4"
>     BR2_LINUX_KERNEL=y
>     BR2_LINUX_KERNEL_LATEST_VERSION=y
> 
> Now we use that defconfig after this patch, this gives:
> 
>     BR2_KERNEL_HEADERS_AS_KERNEL=y
>     BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_REALLY_OLD=y
>     BR2_LINUX_KERNEL=y
>     BR2_LINUX_KERNEL_VERSION="4.4"
> 
> And boom, we've lost BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_4=y
> 
> I have no idea how we could solve this. I doubt we want to add anything
> like BR2_LINUX_KERNEL_AT_LEAST_4_4 and the likes... :-/
> 
> Ideas?

Remove:

	default BR2_KERNEL_HEADERS_AS_KERNEL if BR2_LINUX_KERNEL

 ?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list