You are not logged in.
Hi
Are there any scripts for producing kernel config files? For example - i would run the script and it would produce .config file corresponding to my hardware features.
Thanks for help
Last edited by Shark (2011-11-13 11:30:09)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
make localconfig is what you want
Offline
make localconfig is what you want
Where do i put this command?
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
in the kernel source directory
Offline
So if i have a PKGBUILD from ABS i put the command in between make prepare and make menu?
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
#make menuconfig # CLI menu for configuration
#make nconfig # new CLI menu for configuration
make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
Last edited by Shark (2011-11-13 11:41:28)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
after make prepare should be fine.
Offline
after make prepare should be fine.
I got this error:
make[1]: *** No rule to make target `localconfig'. Stop.
make: *** [localconfig] Error 2
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Command "make localmodconfig" does the job instead of "make localconfig".
Another question: does this configuration file look only after my hardware or is in it other generic features too because i have official generic kernel?
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Command "make localmodconfig" does the job instead of "make localconfig".
Another question: does this configuration file look only after my hardware or is in it other generic features too because i have official generic kernel?
No, make localmodconfig only switches off everything that is not currently modprobed! See my package in the AUR called modprobed_db but be warned that you need to run with it for several weeks of normal usage ideally to make sure you are capturing EVERY needed module! What you're talking about is highly specific to your system and requires that you know the nconfig tree very well to be effective. There is no script that just looks at your hardware and selects the right options.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Thanks you both for information. Graysky, i will try your tip.
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Previous discussion about this here, including comments from the script writer.
Last edited by tomk (2011-11-13 12:46:50)
Offline