From 7df0ff4b9974d394786ceee9bd5e3df6616b846b Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 12 Jan 2022 18:08:40 +0000 Subject: added linux-headers --- repo/core/linux-headers.xibuild | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 repo/core/linux-headers.xibuild (limited to 'repo/core/linux-headers.xibuild') 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 +} -- cgit v1.2.1