gxqing 发表于 2003-5-31 12:21:46

关于模块打补丁

在/lib/modules/2.4.18-14/kernel/drivers下面放着驱动的.o文件,若我想用新该的驱动代替原来的,是否可以把新的.o文件代替原来相应的.o文件即可.
还有就是ide目录下怎么只有那么几个.o(ataraid.o hptraid.oide-cd.o ide-cs.o
ide-tape.o pdcraid.o)文件呀,根据它的makefile文件要生成输出的(ide.o ide-features.o ide-probe.o ide-taskfile.o ataraid.o)是这些呀?
到底是怎么个流程呢?

Dragonfly 发表于 2003-6-1 06:29:29

u make modules_install will replace it automatically if u module is in kernel. of course u can manually copy and overwrite it.
those .o files are modules. the .o files in makefile are not all modules, some are intermediate object files. just like if u compile a c program with many .c files. u will get many .o object files and only one final executable.
页: [1]
查看完整版本: 关于模块打补丁