From cb447620084a20be80d116c81c2e9ec110be7118 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 16 Jan 2022 01:23:51 +0000 Subject: restructured repo system --- repo/linux/linux-headers.xibuild | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 repo/linux/linux-headers.xibuild (limited to 'repo/linux/linux-headers.xibuild') diff --git a/repo/linux/linux-headers.xibuild b/repo/linux/linux-headers.xibuild new file mode 100644 index 0000000..536fdd3 --- /dev/null +++ b/repo/linux/linux-headers.xibuild @@ -0,0 +1,19 @@ +#!/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 () { + mkdir -pv $PKG_DEST/usr/include + cp -rv usr/include/* $PKG_DEST/usr/include/ +} -- cgit v1.2.1