1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-16 08:58:34 +00:00
morpheus/pkgs/kernel/build

19 lines
326 B
Plaintext
Raw Normal View History

2014-02-28 21:19:02 +00:00
v="3.10.32"
url="$mirror/kernel.tar.gz"
2014-02-28 21:19:02 +00:00
build: crossmusl
2014-02-28 21:19:02 +00:00
cd src/linux-$v
cp "$pkgdir/kernel-config-$arch" .config
case "$arch" in
x86_64)
2014-03-03 15:52:31 +00:00
A=x86_64
;;
i486)
2014-03-03 15:52:31 +00:00
A=x86
;;
esac
2014-03-03 15:52:31 +00:00
make ARCH="$A" bzImage -j$nprocs
2014-02-20 16:10:47 +00:00
cp arch/x86/boot/bzImage "$root/boot"
cp .config "$root/boot/bzImage.config"
cp System.map "$root/boot"