Initial commit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
[package]
|
||||
name = "linux-headers"
|
||||
version = "6.19.3"
|
||||
revision = 1
|
||||
description = "Kernel headers sanitized for use in userspace"
|
||||
homepage = "https://www.kernel.org"
|
||||
license = "GPL-2.0-only"
|
||||
|
||||
[[source]]
|
||||
url = "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-$version.tar.xz"
|
||||
sha256 = "0e474968adfcbee32916fd01a89d8ccfd1168d8d32569e76a5c664c793198ebe"
|
||||
extract_dir = "$name-$version"
|
||||
patches = []
|
||||
|
||||
[build]
|
||||
type = "makefile"
|
||||
|
||||
[build.flags]
|
||||
makefile_commands = [
|
||||
"LLVM=1 make mrproper",
|
||||
"LLVM=1 make ARCH=$CARCH headers",
|
||||
]
|
||||
|
||||
makefile_install_commands = [
|
||||
"find usr/include -type f ! -name '*.h' -delete",
|
||||
"mkdir -p \"$DESTDIR/usr\"",
|
||||
"cp -rv usr/include \"$DESTDIR/usr\"",
|
||||
]
|
||||
|
||||
[dependencies]
|
||||
runtime = [ "filesystem" ]
|
||||
Reference in New Issue
Block a user