编译
TLDR
git clone https://github.com/torvalds/linux.git
cd linux
make menuconfig
make -j8
sudo make modules_install
sudo make install
reboot
Kconfig
- arch/ARCH/Kconfig
Kbuild
- Config Symbols
- Boolean
- True
- False
- Tristate
- Yes
- No
- Module
- Boolean
- Kconfig Files
- .config
- Makefile
Makefile
- help
- config
- all
- vmlinux
- modules
- bzImage(arch/ARCH/boot/bzImage)
- isoimage
Compile
git clone https://github.com/torvalds/linux.git
cd linux
cp config .config
make menuconfig # make xconfig or make gconfig
make
sudo make modules_install
sudo make install
sudo update-initramfs
sudo update-grub
reboot