X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=README;h=f32710a817fc392262f5f890cb637e5e0b1b5d1a;hb=e5bb8ad862a97a0facc83f3b81731de919fec6ad;hp=9beaed0ed620b31495a89c79fd12f7f926f7d902;hpb=25e4b485fb8eeda8aa7a2e1e45fbb31538565117;p=pandora-kernel.git diff --git a/README b/README index 9beaed0ed620..f32710a817fc 100644 --- a/README +++ b/README @@ -206,6 +206,24 @@ CONFIGURING the kernel: "make randconfig" Create a ./.config file by setting symbol values to random values. + "make localmodconfig" Create a config based on current config and + loaded modules (lsmod). Disables any module + option that is not needed for the loaded modules. + + To create a localmodconfig for another machine, + store the lsmod of that machine into a file + and pass it in as a LSMOD parameter. + + target$ lsmod > /tmp/mylsmod + target$ scp /tmp/mylsmod host:/tmp + + host$ make LSMOD=/tmp/mylsmod localmodconfig + + The above also works when cross compiling. + + "make localyesconfig" Similar to localmodconfig, except it will convert + all module options to built in (=y) options. + You can find more information on using the Linux kernel config tools in Documentation/kbuild/kconfig.txt.