MidgardOS Developer Documentation

A website documenting creating the build root for MidgardOS


Section 2 - Cross-Compilation Toolchain

Navigation    
« Cross-Compilation Tools Overview HOME GNU Binutils »

Linux System Headers

Name: linux-headers
Summary: System headers meant for interfacing with the Linux Kernel
License: GPL v2
Version: 6.16.3
URL: https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.16.3.tar.xz

Configuration

There is no configuration step for this package.

Compilation and Installation

The Linux Headers are a sanitized version of the C header files for the Linux Kernel, allowing software to interface with it’s syscall API. To install them, run the following commands:

make mrproper
make ARCH=$(arch) headers
make ARCH=$(arch) INSTALL_HDR_PATH=/tools headers_install
make ARCH=$(arch) INSTALL_HDR_PATH=${BRFS}/usr headers_install

More details about this package is covered later in the core system build.

Navigation    
« Cross-Compilation Tools Overview HOME GNU Binutils »