X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=README;h=a24ec89ba4420ad38e8848422ca5f69baa5ffe1c;hb=681daee2443291419c57cccb0671f5f94a839005;hp=9beaed0ed620b31495a89c79fd12f7f926f7d902;hpb=d65c8f312c7a7e0b14db8f361cc692a263025bf5;p=~andy%2Flinux diff --git a/README b/README index 9beaed0ed62..a24ec89ba44 100644 --- a/README +++ b/README @@ -180,6 +180,10 @@ CONFIGURING the kernel: with questions already answered. Additionally updates the dependencies. + "make olddefconfig" + Like above, but sets new symbols to their default + values without prompting. + "make defconfig" Create a ./.config file by using the default symbol values from either arch/$ARCH/defconfig or arch/$ARCH/configs/${PLATFORM}_defconfig, @@ -206,6 +210,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.