1
0
mirror of git://git.2f30.org/morpheus.git synced 2024-06-25 22:58:34 +00:00
morpheus/pkgs/kernel
sin 5ffd49a86d We can build with dash too now
Also rename pkgs/arch-rootfs to pkgs/emul.

The create-bootable script still needs to be fixed
to work with dash.
2014-02-14 10:58:17 +00:00

29 lines
443 B
Plaintext

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 -
}
build() {
cd src/linux-$version
cp $top/stuff/kernel-config .config
make menuconfig
make bzImage -j$nprocs || return 1
cd -
}
install() {
cd src/linux-$version
cp arch/x86/boot/bzImage $root/boot
cp .config $root/boot/bzImage.config
cp System.map $root/boot
cd -
}