1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-30 20:11:24 +00:00
morpheus/pkgs/kernel
sin 6cf0949e99 Use a case statement instead of if/else
Makes it easy to port packages to other architectures.
2014-03-04 15:18:34 +00:00

19 lines
329 B
Plaintext

v="3.10.32"
url="$mirror/kernel.tar.gz"
build: crossmusl
cd src/linux-$v
cp "$top/stuff/kernel-config-$arch" .config
case "$arch" in
x86_64)
A=x86_64
;;
i486)
A=x86
;;
esac
make ARCH="$A" bzImage -j$nprocs
cp arch/x86/boot/bzImage "$root/boot"
cp .config "$root/boot/bzImage.config"
cp System.map "$root/boot"