diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -206,6 +206,24 @@ CONFIGURING the kernel: | |||
206 | "make randconfig" Create a ./.config file by setting symbol | 206 | "make randconfig" Create a ./.config file by setting symbol |
207 | values to random values. | 207 | values to random values. |
208 | 208 | ||
209 | "make localmodconfig" Create a config based on current config and | ||
210 | loaded modules (lsmod). Disables any module | ||
211 | option that is not needed for the loaded modules. | ||
212 | |||
213 | To create a localmodconfig for another machine, | ||
214 | store the lsmod of that machine into a file | ||
215 | and pass it in as a LSMOD parameter. | ||
216 | |||
217 | target$ lsmod > /tmp/mylsmod | ||
218 | target$ scp /tmp/mylsmod host:/tmp | ||
219 | |||
220 | host$ make LSMOD=/tmp/mylsmod localmodconfig | ||
221 | |||
222 | The above also works when cross compiling. | ||
223 | |||
224 | "make localyesconfig" Similar to localmodconfig, except it will convert | ||
225 | all module options to built in (=y) options. | ||
226 | |||
209 | You can find more information on using the Linux kernel config tools | 227 | You can find more information on using the Linux kernel config tools |
210 | in Documentation/kbuild/kconfig.txt. | 228 | in Documentation/kbuild/kconfig.txt. |
211 | 229 | ||