make O=/home/johnyin/kernel localmodconfig/localyesconfig
make O=/home/johnyin/kernel menuconfig
make O=/home/johnyin/kernel
make O=/home/johnyin/kernel modules
cd /home/johnyin/kernel
make modules_install INSTALL_MOD_PATH=~/kernel/mod
make headers_install INSTALL_HDR_PATH=~/kernel/mod
make modules_prepare
make install INSTALL_PATH=~/kernel/mod
.....
patch -p0 < foo.patch
.....
update-initramfs -k 3.4.6 -c
update-grub
make O=/home/johnyin/kernel modules SUBDIRS=drivers/net/ethernet/intel/ CONFIG_E1000=m
make O=/home/johnyin/kernel modules SUBDIRS=drivers/ata/ CONFIG_ATA_PIIX=m
/sbin/depmod -ae -F System.map.3.4.6 -b / 3.4.6
update-initramfs -k 3.4.6 -u
阅读(1062) | 评论(0) | 转发(0) |