[Buildroot] [PATCH] configs: add defconfig for Freescale i.MX31 PDK

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Mar 19 15:58:44 UTC 2015


Dear Vincent Stehlé,

On Thu, 19 Mar 2015 16:37:35 +0100, Vincent Stehlé wrote:

> >> +BR2_KERNEL_HEADERS_3_2=y
> >  That doesn't sound like a good idea when the kernel is 2.6.28...
> 
> Granted, this is not optimal. Those are the kernel headers
> closest to 2.6.28, "easily" available in buildroot.
> 
> It is indeed possible to manually specify the 2.6.28 kernel
> headers version, but this necessitates two patches to fix the
> linux-headers "build".
>   Do you prefer this solution?

It is not a preference at all: running userspace binaries and C
libraries built with kernel headers more recent than the running is a
very good recipe for disaster. Your userspace and C library will
believe that certain system calls exist while it's not the case.

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