diff options
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 | ||