All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] configs/{ea3250, fdi3250, phy3250}: lock down kernel headers version
Date: Wed, 06 Feb 2013 21:42:06 +0100	[thread overview]
Message-ID: <5112C01E.2090807@mind.be> (raw)
In-Reply-To: <1360182113-23743-1-git-send-email-gustavo@zacarias.com.ar>

On 06/02/13 21:21, Gustavo Zacarias wrote:
> Update {ea3250,fdi3250,phy3250}_defconfig to lock down kernel headers to
> an appropiate version.
> Otherwise the target is building with, at the moment of this writing,
> version 3.7 headers and a 2.6.34 kernel which usually isn't wise.

  This should really be done for all defconfigs that build a custom 
kernel version:

arm_foundationv8_defconfig
armadeus_apf9328_defconfig
at91sam9g20dfc_defconfig
atstk100x_defconfig
beaglebone_defconfig
calao_snowball_defconfig
kb9202_defconfig
mini2440_defconfig
mx53loco_defconfig
sheevaplug_defconfig

  And the ones that allow it should probably set 
BR2_LINUX_KERNEL_SAME_AS_HEADERS.

  But all that is a lot of testing :-)

>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>   configs/ea3250_defconfig  | 4 ++++
>   configs/fdi3250_defconfig | 4 ++++
>   configs/phy3250_defconfig | 4 ++++
>   3 files changed, 12 insertions(+)
>
> diff --git a/configs/ea3250_defconfig b/configs/ea3250_defconfig
> index 9cd7b34..2574dde 100644
> --- a/configs/ea3250_defconfig
> +++ b/configs/ea3250_defconfig
> @@ -11,6 +11,10 @@ BR2_ARM_EABI=y
>   # that will compile a kernel with ethernet working correctly
>   BR2_GCC_VERSION_4_3_X=y
>
> +# Lock down headers to avoid breaking with new defaults
> +BR2_KERNEL_HEADERS_VERSION=y
> +BR2_DEFAULT_KERNEL_VERSION="2.6.34.7"
> +BR2_DEFAULT_KERNEL_HEADERS="2.6.34.7"

  Only BR2_DEFAULT_KERNEL_VERSION is necessary - 
BR2_DEFAULT_KERNEL_HEADERS is derived from it by Kconfig.

  Regards,
  Arnout

-- 
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

  reply	other threads:[~2013-02-06 20:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06 20:21 [Buildroot] [PATCH] configs/{ea3250, fdi3250, phy3250}: lock down kernel headers version Gustavo Zacarias
2013-02-06 20:42 ` Arnout Vandecappelle [this message]
2013-02-06 20:52   ` Gustavo Zacarias
2013-02-07 16:07 ` Peter Korsgaard

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=5112C01E.2090807@mind.be \
    --to=arnout@mind.be \
    --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.