1.升级步骤
tar jxvf linux-2.6.37.tar.bz2
cp /boot/config-2.6.32-24-generic .config
make bzImage
make modules
make modules_install
make install
mkinitramfs 2.6.37 -o /boot/initrd.img-2.6.37-generic
update-grub2
2.内核模块Makefile
root@huyugui-desktop:/huyugui/kernel_test/createfile# cat -n Makefile
1 obj-m := createfile2.o
2 KERNELDIR = /huyugui/linux-2.6.37
3 PWD := $(shell pwd)
4 default:
5 make -C $(KERNELDIR) M=$(PWD) modules
6