diff options
author | davidovski <david@davidovski.xyz> | 2022-01-12 18:08:40 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-12 18:08:40 +0000 |
commit | 7df0ff4b9974d394786ceee9bd5e3df6616b846b (patch) | |
tree | a3f6394dbbb7df33b2b0a33e1a74d282ad158ea5 /repo/core | |
parent | 0e0657f295459dee86b233be90a4d2e599ec8fcb (diff) |
added linux-headers
Diffstat (limited to 'repo/core')
-rw-r--r-- | repo/core/linux-headers.xibuild | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/repo/core/linux-headers.xibuild b/repo/core/linux-headers.xibuild new file mode 100644 index 0000000..5913d6d --- /dev/null +++ b/repo/core/linux-headers.xibuild @@ -0,0 +1,18 @@ +#!/bin/bash + +DEPS=() + +SOURCE=https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.14.tar.xz +DESC="Linux kernel headers" + + +build () { + make mrproper + make headers + find usr/include -name '.*' -delete + rm usr/include/Makefile +} + +package () { + cp -rv usr/include $PKG_DEST/usr +} |