[Buildroot] build without linux, busybox, - just buildroot internal toolchain

Baruch Siach baruch at tkos.co.il
Tue Mar 22 05:51:54 UTC 2011

Hi Steve,

On Mon, Mar 21, 2011 at 09:35:14PM -0700, Steve Calfee wrote:
> I am trying buildroot partitioned into systems. In my toolchain only
> tree, I disable both kernel, busybox, and all packages. This works,
> but for some reason the entire linux kernel is unpacked in the
> output/toolchain/linux- I am not clear on why the toolchain
> needs linux headers,

Any toolchain that generates binaries running under Linux needs header files 
from the Linux kernel. These headers define the kernel ABI (Application Binary 
Interface), such as system call numbers, structs, etc. Userspace programs 
include these headers either directly (from the linux/ directory), or 
indirectly via you libc of choice.

> but ok, why does it need the full source?

The Linux headers are not supplied in a separate package. You need to generate 
them from the Linux source.

Hope this helps.


                                                     ~. .~   Tk Open Systems
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

More information about the buildroot mailing list