|
发表于 2003-10-23 19:02:25
|
显示全部楼层
很简单的步骤
1,找到一个kernel-2.4*.src.rpm(redhat的源码盘里边有)
2,解开包rpm -ivh kernre-2.4*.src.rpm
3, cd /usr/src/redhat/SPEC
4 修改 kernel-2.4.spec -----smp 0
5 cd /usr/src/redhat/SOURCE
修改kerne-2.4*.athlon.smp.config (拷贝linux2.4*.tar.bz2, 并解开 make xconfig ,引入kerne-2.4*.athlon.smp.config,根据你的机子修改)然后令存为kerne-2.4*.athlon.config
最后cd /usr/src/redhat/SPEC
rpmbuild --bb --target=athlon kenel.2.4.spec
最后会在/usr/src/redhat/RPM*/athlon目录下见到你打的包
关键是config 文件的配置。
 |
|