linux-headers

Header files of the Linux kernel

Latest version: 6.7.6

Add to xmake.lua

add_requires("linux-headers 6.7.6")

Learn how to add and link packages with Xmake →

Information

License
GPL-2.0-only
Recipe updated
2024-03-11T13:37:19.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • cross: i386, x86_64, arm, armv7, arm64, mips, mips64, mips64el, riscv, riscv64, loong64, s390x, ppc, ppc64, ppc64el, sh4, sparc64

Options

driver_modules
Enable driver modules files. · Type: boolean · Default: false

Versions

  • 4.20.9
  • 5.0.8
  • 5.9.16
  • 5.10.46
  • 5.15
  • 5.16.9
  • 6.7.6

Dependencies

No dependencies declared.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "linux-headers 6.7.6"

show info

xrepo info "linux-headers"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("linux-headers 6.7.6")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("linux-headers")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "linux-headers 6.7.6" shell