[Buildroot] Using custom kernel headers instead toolchain headers

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Mar 21 18:15:07 UTC 2012


Le Wed, 21 Mar 2012 13:26:07 +0400,
lexa <lexa at cfotr.com> a écrit :

> I use heavy patched kernel and i need use custom kernel headers. If i
> choose using
> buildroot toolchain, can buildroot create kernel-headers from my custom
> kernel source and use this headers for build buildroot toolchain and
> other binaries?

Yes, you can put your modified kernel sources named linux-2.6.tar.bz2
in the dl/ folder, and select the BR2_KERNEL_HEADERS_SNAP. The internal
Buildroot toolchain build procedure will then use this kernel version
for the kernel headers of the toolchain.

Note that this isn't used a lot, so it might be possible that things
are broken, I haven't tested it right now.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list