commit 24b4717b8a6c845a01ba421853a7e14633769c91 parent fc884544f13bc7fe02eb1a71d86e96403a6a457c Author: sin <sin@2f30.org> Date: Wed, 19 Feb 2014 15:21:27 +0000 Add kernel-headers package Diffstat:
A | pkgs/kernel-headers | | | 19 | +++++++++++++++++++ |
M | stage0 | | | 1 | + |
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/pkgs/kernel-headers b/pkgs/kernel-headers @@ -0,0 +1,19 @@ +url=$mirror/kernel.tar.gz +version=3.10.12 + +fetch() { + wget -c $url -O src/kernel.tar.gz +} + +unpack() { + cd src + [ -d linux-$version ] || tar xzf kernel.tar.gz + cd - +} + +install() { + cd src/linux-$version + make ARCH="$arch" INSTALL_HDR_PATH="$root" headers_install + unlink "$root/include/include" # I don't know why it creates this bogus link + cd - +} diff --git a/stage0 b/stage0 @@ -11,6 +11,7 @@ packages="crossmusl zlib tinyxlib kernel + kernel-headers emul busybox fs