# make mrproper # make menuconfig # time make real 88m52.816s user 79m25.351s sys 8m2.941s # time make modules real 1m56.479s user 1m3.756s sys 0m11.505s # make modules_install # make install
# lsmod # modprobe -l # modprobe -c # modprobe -r vfat # modprobe vfat # depmod -A
# cd /usr/src/linux # make mrproper # 清除所有东西,包括配置文件 # make oldconfig # 从当前内核配置文件的基础上创建一个新的配置文件 # make menuconfig # 或者 xconfig (Qt) 或者 gconfig (GTK) # make # 创建一个已压缩的内核映像文件 # make modules # 编译模块 # make modules_install # 安装模块 # make install # 安装内核# reboot
转载于:https://blog.51cto.com/sunnybay/1374376