[Buildroot] Installing kernel headers after building Linux

Frank Hunleth fhunleth at troodon-software.com
Thu Apr 25 12:35:16 UTC 2019


I have a setup where I’m using a non-Buildroot external toolchain, and I'm trying to add a package that requires the kernel headers from the same version of Linux that’s running. The kernel headers in the external toolchain don’t match the version of Linux that I’m using as you’d expect.

I’m wondering why the Linux build step doesn’t run `make headers_install` at the end so that the header files could be available. Would doing this for external toolchains cause an issue? Before I head too far down that path, I wanted to check.

Or is there another way of making the kernel headers available (aside from switching to an internally generated toolchain)? In case it matters, the package I’m looking at adding is `ply` so that I can run a couple eBPF traces.


More information about the buildroot mailing list