README.rst (0898782247ae533d1f4e47a06bc5d4870931b284) | README.rst (c027b02d89fd42ecee911c39e9098b9609a5ca0b) |
---|---|
1.. _readme: 2 3Linux kernel release 5.x <http://kernel.org/> 4============================================= 5 6These are the release notes for Linux version 5. Read them carefully, 7as they tell you what this is all about, explain how to install the 8kernel, and what to do if something goes wrong. --- 195 unchanged lines hidden (view full) --- 204 "make localmodconfig" Create a config based on current config and 205 loaded modules (lsmod). Disables any module 206 option that is not needed for the loaded modules. 207 208 To create a localmodconfig for another machine, 209 store the lsmod of that machine into a file 210 and pass it in as a LSMOD parameter. 211 | 1.. _readme: 2 3Linux kernel release 5.x <http://kernel.org/> 4============================================= 5 6These are the release notes for Linux version 5. Read them carefully, 7as they tell you what this is all about, explain how to install the 8kernel, and what to do if something goes wrong. --- 195 unchanged lines hidden (view full) --- 204 "make localmodconfig" Create a config based on current config and 205 loaded modules (lsmod). Disables any module 206 option that is not needed for the loaded modules. 207 208 To create a localmodconfig for another machine, 209 store the lsmod of that machine into a file 210 and pass it in as a LSMOD parameter. 211 |
212 Also, you can preserve modules in certain folders 213 or kconfig files by specifying their paths in 214 parameter LMC_KEEP. 215 |
|
212 target$ lsmod > /tmp/mylsmod 213 target$ scp /tmp/mylsmod host:/tmp 214 | 216 target$ lsmod > /tmp/mylsmod 217 target$ scp /tmp/mylsmod host:/tmp 218 |
215 host$ make LSMOD=/tmp/mylsmod localmodconfig | 219 host$ make LSMOD=/tmp/mylsmod \ 220 LMC_KEEP="drivers/usb:drivers/gpu:fs" \ 221 localmodconfig |
216 217 The above also works when cross compiling. 218 219 "make localyesconfig" Similar to localmodconfig, except it will convert | 222 223 The above also works when cross compiling. 224 225 "make localyesconfig" Similar to localmodconfig, except it will convert |
220 all module options to built in (=y) options. | 226 all module options to built in (=y) options. You can 227 also preserve modules by LMC_KEEP. |
221 222 "make kvmconfig" Enable additional options for kvm guest kernel support. 223 224 "make xenconfig" Enable additional options for xen dom0 guest kernel 225 support. 226 227 "make tinyconfig" Configure the tiniest possible kernel. 228 --- 180 unchanged lines hidden --- | 228 229 "make kvmconfig" Enable additional options for kvm guest kernel support. 230 231 "make xenconfig" Enable additional options for xen dom0 guest kernel 232 support. 233 234 "make tinyconfig" Configure the tiniest possible kernel. 235 --- 180 unchanged lines hidden --- |