diff options
author | Jiri Kosina <jkosina@suse.cz> | 2012-10-28 14:28:52 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-10-28 14:29:19 -0400 |
commit | 3bd7bf1f0fe14f591c089ae61bbfa9bd356f178a (patch) | |
tree | 0058693cc9e70b7461dae551f8a19aff2efd13ca /README | |
parent | f16f84937d769c893492160b1a8c3672e3992beb (diff) | |
parent | e657e078d3dfa9f96976db7a2b5fd7d7c9f1f1a6 (diff) |
Merge branch 'master' into for-next
Sync up with Linus' tree to be able to apply Cesar's patch
against newer version of the code.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -210,6 +210,24 @@ CONFIGURING the kernel: | |||
210 | "make randconfig" Create a ./.config file by setting symbol | 210 | "make randconfig" Create a ./.config file by setting symbol |
211 | values to random values. | 211 | values to random values. |
212 | 212 | ||
213 | "make localmodconfig" Create a config based on current config and | ||
214 | loaded modules (lsmod). Disables any module | ||
215 | option that is not needed for the loaded modules. | ||
216 | |||
217 | To create a localmodconfig for another machine, | ||
218 | store the lsmod of that machine into a file | ||
219 | and pass it in as a LSMOD parameter. | ||
220 | |||
221 | target$ lsmod > /tmp/mylsmod | ||
222 | target$ scp /tmp/mylsmod host:/tmp | ||
223 | |||
224 | host$ make LSMOD=/tmp/mylsmod localmodconfig | ||
225 | |||
226 | The above also works when cross compiling. | ||
227 | |||
228 | "make localyesconfig" Similar to localmodconfig, except it will convert | ||
229 | all module options to built in (=y) options. | ||
230 | |||
213 | You can find more information on using the Linux kernel config tools | 231 | You can find more information on using the Linux kernel config tools |
214 | in Documentation/kbuild/kconfig.txt. | 232 | in Documentation/kbuild/kconfig.txt. |
215 | 233 | ||