LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: pink_tulip

第一次玩编译内核,问题和感想

[复制链接]
 楼主| 发表于 2006-5-4 09:17:28 | 显示全部楼层
Post by 终极幻想
O=... 这堆不需要。直接 make menuconfig 之类就可以了。

O= 这堆是内核的readme上推荐的。

Post by 终极幻想
ln -s 的不需要,unlink 也不需要。正规来说,/usr/src/linux 是不应该存在的,这个是2.4 遗留下来的问题。

经研究,这个确实不需要了。呵呵
回复 支持 反对

使用道具 举报

发表于 2006-5-4 09:42:30 | 显示全部楼层
Post by pink_tulip
O= 这堆是内核的readme上推荐的。
请看清楚 README 在什麽时候才加上去,一般是不要的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-5-4 09:50:20 | 显示全部楼层
Post by d00m3d
请看清楚 README 在什麽时候才加上去,一般是不要的。


  1. BUILD directory for the kernel:

  2.    When compiling the kernel all output files will per default be
  3.    stored together with the kernel source code.
  4.    Using the option "make O=output/dir" allow you to specify an alternate
  5.    place for the output files (including .config).
  6.    Example:
  7.      kernel source code:        /usr/src/linux-2.6.N
  8.      build directory:                /home/name/build/kernel

  9.    To configure and build the kernel use:
  10.    cd /usr/src/linux-2.6.N
  11.    make O=/home/name/build/kernel menuconfig
  12.    make O=/home/name/build/kernel
  13.    sudo make O=/home/name/build/kernel modules_install install

  14.    Please note: If the 'O=output/dir' option is used then it must be
  15.    used for all invocations of make.
复制代码


I see.3x.
I think it may be better for management.
回复 支持 反对

使用道具 举报

发表于 2006-5-4 09:52:25 | 显示全部楼层
Great, you get it!
回复 支持 反对

使用道具 举报

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

本版积分规则

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