View previous topic :: View next topic |
Author |
Message |
skorefish Apprentice

Joined: 21 Jun 2015 Posts: 281
|
Posted: Sun Jul 12, 2015 12:11 pm Post subject: scripts for kernel .config ??? |
|
|
hi,
I thought being clever by using vi to change all =m into =y but unfortunately this makes the .config illegal? this affected 1200 lines. Is there another way to script the menuconfig.
The kernel seeds are a good starting point, but it would be helpful to see for example only the modules, or the selected items + dependencies or select all drivers for netwerkcard etc.. or diff .config1 .config2
something like make menuconfig << EOF
CONFIG_BRIDGE_NETFILTER=yes
EOF
if this is impossible, is there a C++ way?
this threat started here https://forums.gentoo.org/viewtopic-t-1021772-highlight-.html |
|
Back to top |
|
 |
spectromas n00b

Joined: 13 Jul 2014 Posts: 50
|
Posted: Sun Jul 12, 2015 3:04 pm Post subject: Re: scripts for kernel .config ??? |
|
|
skorefish wrote: | hi,
I thought being clever by using vi to change all =m into =y but unfortunately this makes the .config illegal? this affected 1200 lines. Is there another way to script the menuconfig.
|
Is this what you were looking for?
Quote: | "make allyesconfig"
Create a ./.config file by setting symbol values to 'y' as much as possible. |
|
|
Back to top |
|
 |
bstaletic Apprentice

Joined: 05 Apr 2014 Posts: 225
|
Posted: Sun Jul 12, 2015 3:16 pm Post subject: |
|
|
I think localyesconfig makes more sense.
Code: | localyesconfig - Update current config converting local mods to core |
|
|
Back to top |
|
 |
skorefish Apprentice

Joined: 21 Jun 2015 Posts: 281
|
Posted: Sun Jul 12, 2015 4:05 pm Post subject: |
|
|
Quote: | localyesconfig - Update current config converting local mods to core |
Yes, these are very usefull !!!
make help : shows all possibilities
In fact I was looking for how to make scripts like localyesconfig,... but with other own functions  |
|
Back to top |
|
 |
frostschutz Advocate


Joined: 22 Feb 2005 Posts: 2971 Location: Germany
|
Posted: Sun Jul 12, 2015 4:33 pm Post subject: |
|
|
make menuconfig and say no to the module system and they should all turn into yes... hopefully |
|
Back to top |
|
 |
|