|
发表于 2008-12-19 14:46:26
|
显示全部楼层
查到如下信息:
---
Because a lot of articles, howtos, readmes and other sorts of text get it wrong, here's the stance:
It is often said to run
cd /usr/src/linux
make cloneconfig
make prepare
or something similar (like mrproper, oldconfig, prepare-all, etc.). This is not required for SUSE Linux (and perhaps other distros). When the binary kernel package and kernel-source is installed, the parts that would have to be configured are already present. A simple call to make (see below) is sufficient. Every external module package (that is sane) will do everything right automatically.
In fact, running `make cloneconfig` or any build operation inside /usr/src/linux will make it unclean so that (sane!) external modules' build process will abort with:
/usr/src/linux is not clean, please run 'make mrproper'
in the '/usr/src/linux' directory.
All of this is correct, since /usr/src/linux is ONLY a source directory, NOT the build directory. A few external module packages are, however, so broken that they fail to make this distinction and run into one of two problems: (1) they cannot find some header file, (2) says you have yet to configure your kernel (which is wrong of course).
-----
貌似是不需要
make cloneconfig
make prepare |
|