[Buildroot] [PATCH 5/6] linux-headers: remove deprecated versions
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Sep 8 20:18:53 UTC 2016
Hello,
On Thu, 8 Sep 2016 15:39:01 -0300, Gustavo Zacarias wrote:
> Linux headers 3.19.x and 4.0.x have been deprecated for a while now, so
> it's time to remove them.
>
> Signed-off-by: Gustavo Zacarias <gustavo at zacarias.com.ar>
> ---
> Config.in.legacy | 20 ++++++++++++++++++++
> package/linux-headers/Config.in.host | 10 ----------
> 2 files changed, 20 insertions(+), 10 deletions(-)
>
> diff --git a/Config.in.legacy b/Config.in.legacy
> index 60d414b..b796904 100644
> --- a/Config.in.legacy
> +++ b/Config.in.legacy
> @@ -145,6 +145,26 @@ endif
> ###############################################################################
> comment "Legacy options removed in 2016.11"
>
> +config BR2_KERNEL_HEADERS_4_0
> + bool "kernel headers version 4.0.x are no longer supported"
> + select BR2_KERNEL_HEADERS_4_1
Wouldn't it be safer to select in this case the immediately older
kernel header version that's still available?
Imagine the user is running a 4.0 kernel, and therefore has chosen 4.0
kernel headers. With your change, the toolchain will now be rebuilt
with 4.1 kernel headers... while the user is running a 4.0 kernel. Not
good.
Default to an older version seems safer to me.
What do you think?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the buildroot
mailing list