QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 798|回复: 1

关于模块打补丁

[复制链接]
发表于 2003-5-31 12:21:46 | 显示全部楼层 |阅读模式
在/lib/modules/2.4.18-14/kernel/drivers下面放着驱动的.o文件,若我想用新该的驱动代替原来的,是否可以把新的.o文件代替原来相应的.o文件即可.
还有就是ide目录下怎么只有那么几个.o(ataraid.o hptraid.o  ide-cd.o ide-cs.o
ide-tape.o pdcraid.o)文件呀,根据它的makefile文件要生成输出的(ide.o ide-features.o ide-probe.o ide-taskfile.o ataraid.o)是这些呀?
到底是怎么个流程呢?
发表于 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.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-19 18:45 , Processed in 0.073258 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表