[Buildroot] [PATCH] board: add support for ARC AXS101 and AXS103 Software Development Platforms

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Aug 4 13:55:25 UTC 2015


Alexey,

On Tue, 4 Aug 2015 13:37:04 +0000, Alexey Brodkin wrote:

> Hw, I do understand your concern with implicitly specified version of
> kernel/headers but what I meant if I use "make savedefconfig" it eliminates
> versions if they match today's defaults.

Not if you explicitly specify "custom version", i.e if you do:

	Kernel Headers (Manually specified Linux version)  ---> 
	(4.1) linux version

Then you get:

BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="4.1"

which is what we want.


> So now if I understood you correctly you propose to insert:
> --------->8---------
> BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.2-rc5"

Yes for kernel version.

> BR2_DEFAULT_KERNEL_HEADERS="4.1.3"

But no for kernel headers: see above what you should do.

Again, please look at qemu_*_defconfig, they do the right thing:

# Lock to 4.1 headers to avoid breaking with newer kernels
BR2_KERNEL_HEADERS_VERSION=y
BR2_DEFAULT_KERNEL_VERSION="4.1"
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_1=y

# Kernel
BR2_LINUX_KERNEL=y
BR2_LINUX_KERNEL_CUSTOM_VERSION=y
BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.1"
BR2_LINUX_KERNEL_DEFCONFIG="vexpress"

Best regards,

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



More information about the buildroot mailing list