From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] defconfigs: use the new headers-version-same-as-kernel-version option
Date: Wed, 20 Jan 2016 23:07:27 +0100 [thread overview]
Message-ID: <20160120230727.6ba2b63d@free-electrons.com> (raw)
In-Reply-To: <20160120215821.GD3992@free.fr>
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
next prev parent reply other threads:[~2016-01-20 22:07 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-20 18:34 [Buildroot] [PATCH 0/3] toolchain: add possibility to use kernel version for linux-headers (branch yem/kenrel-headers) Yann E. MORIN
2016-01-20 18:34 ` [Buildroot] [PATCH 1/3] package/linux-headers: add option to use same sources as the kernel Yann E. MORIN
2016-01-20 20:36 ` Thomas Petazzoni
2016-01-20 21:03 ` Yann E. MORIN
2016-02-02 9:05 ` Peter Korsgaard
2016-01-20 18:34 ` [Buildroot] [PATCH 2/3] defconfigs: use the new headers-version-same-as-kernel-version option Yann E. MORIN
2016-01-20 20:38 ` Thomas Petazzoni
2016-01-20 21:29 ` Peter Korsgaard
2016-01-20 21:37 ` Steve Calfee
2016-01-20 22:05 ` Thomas Petazzoni
2016-01-20 22:08 ` Yann E. MORIN
2016-01-20 21:58 ` Yann E. MORIN
2016-01-20 22:07 ` Thomas Petazzoni [this message]
2016-01-20 22:15 ` Yann E. MORIN
2016-01-20 18:34 ` [Buildroot] [PATCH 3/3] linux: drop the option to use the same version as that of the headers Yann E. MORIN
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=20160120230727.6ba2b63d@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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.