mirror of
git://git.2f30.org/morpheus.git
synced 2024-06-20 18:08:33 +00:00
Add kernel-headers package
This commit is contained in:
parent
fc884544f1
commit
24b4717b8a
19
pkgs/kernel-headers
Normal file
19
pkgs/kernel-headers
Normal file
@ -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 -
|
||||||
|
}
|
1
stage0
1
stage0
@ -11,6 +11,7 @@ packages="crossmusl
|
|||||||
zlib
|
zlib
|
||||||
tinyxlib
|
tinyxlib
|
||||||
kernel
|
kernel
|
||||||
|
kernel-headers
|
||||||
emul
|
emul
|
||||||
busybox
|
busybox
|
||||||
fs
|
fs
|
||||||
|
Loading…
Reference in New Issue
Block a user