Last active
December 14, 2015 05:19
-
-
Save hamstar/5034457 to your computer and use it in GitHub Desktop.
build a kernel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir /build/boot -p | |
export BUILD_DIR="/build/" | |
cd linux-stable | |
make clean | |
ARCH=i386 make menuconfig | |
... do stuff ... | |
ARCH=i386 make -j10 | |
INSTALL_MOD_PATH=$BUILD_DIR ARCH=i386 make modules_install | |
cp arch/i386/boot/bzImage $BUILD_DIR/boot/vmlinuz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment