|
楼主 |
发表于 2003-9-16 08:55:40
|
显示全部楼层
然后我用代替方法:
The instructions assume that you are running the target kernel. If that
is not the case, you can still build the kernel module for that kernel,
but since the KBUILD Makefile only respects the KERNDIR directive when
it builds the module, you'll have to install the module manually; (instead of 'make install')
as anexample:
# make KERNDIR=/usr/src/linux-2.6.0-test5 module
# mkdir /lib/modules/linux-2.6.0-test5/kernel/drivers/video
# cp nvidia.ko /lib/modules/2.6.0-test5/kernel/drivers/video
# depmod 2.6.0-test5
这是代替上一步里的make install的,但是最后一步:depmod 2.6.0-test5 不能正确执行! |
|