X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README;h=f32710a817fc392262f5f890cb637e5e0b1b5d1a;hb=d0e1d66b5aa1ec9f556f951aa9a114cc192cd01c;hp=9beaed0ed620b31495a89c79fd12f7f926f7d902;hpb=89a897fbd8c181bfbf814b84fcdce1cd80a3a388;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/README b/README index 9beaed0..f32710a 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.