summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}