summaryrefslogtreecommitdiff
path: root/repo/core/linux-headers.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-12 18:08:40 +0000
committerdavidovski <david@davidovski.xyz>2022-01-12 18:08:40 +0000
commit7df0ff4b9974d394786ceee9bd5e3df6616b846b (patch)
treea3f6394dbbb7df33b2b0a33e1a74d282ad158ea5 /repo/core/linux-headers.xibuild
parent0e0657f295459dee86b233be90a4d2e599ec8fcb (diff)
added linux-headers
Diffstat (limited to 'repo/core/linux-headers.xibuild')
-rw-r--r--repo/core/linux-headers.xibuild18
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
+}