View previous topic :: View next topic |
Author |
Message |
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Wed Jan 26, 2005 11:07 pm Post subject: Finding .config option in menuconfig or xconfig [SOLVED] |
|
|
Suppose I know then name, e.g
CONFIG_RTC
of a ".config" option for the kernel. In
or
how can I find this option (without exhaustive search)? _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida
Last edited by gentsquash on Thu Jan 27, 2005 4:16 am; edited 1 time in total |
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Wed Jan 26, 2005 11:36 pm Post subject: |
|
|
I was kinda hoping someone would post a very wise, guru-like answer to this one... but not so far I suppose most of us just look through it till we find what we want and become familiar with it in time.
CONFIG_RTC is under (kernel 2.6) Device Drivers|Character Devices|Enhanced Real Time Clock Support. |
|
Back to top |
|
|
bollucks l33t
Joined: 27 Oct 2004 Posts: 606
|
Posted: Wed Jan 26, 2005 11:55 pm Post subject: |
|
|
lookinin wrote: | I was kinda hoping someone would post a very wise, guru-like answer to this one... but not so far |
Here you go:
In recent kernels only you can do a search function using '/' in make menuconfig.
eg
/BT848
returns:
Code: |
Symbol: VIDEO_BT848 [=m] │
│ Prompt: BT848 Video For Linux │
│ Defined at drivers/media/video/Kconfig:10 │
│ Depends on: VIDEO_DEV && PCI && I2C │
│ Location: │
│ -> Device Drivers │
│ -> Multimedia devices │
│ -> Video For Linux (VIDEO_DEV [=y]) │
│ -> Video For Linux │
│ Selects: I2C_ALGOBIT && FW_LOADER && VIDEO_BTCX && VIDEO_BUF && VIDEO_IR && VIDEO_TUNER |
|
|
Back to top |
|
|
lookinin Guru
Joined: 21 Jan 2005 Posts: 486
|
Posted: Thu Jan 27, 2005 12:00 am Post subject: |
|
|
bollucks wrote: |
In recent kernels only you can do a search function using '/' in make menuconfig.
|
Excellent! |
|
Back to top |
|
|
gentsquash l33t
Joined: 03 Nov 2004 Posts: 753 Location: Still a Gentoo beginner.
|
Posted: Thu Jan 27, 2005 4:16 am Post subject: |
|
|
Marvelous --thank you lookinin and bollucks.
Experimenting shows that, in `make menuconfig', the "/" search is
NOT case-sensitive. Moreover, drop the initial "CONFIG_": if the
option is called "CONFIG_GEN_RTC" in "linux/.config", then
"/"-search for "GEN_RTC".
Does `make xconfig' have a search facility? --I couldn't find
one... _________________ Your thread resolved? Putting [SOLVED] in its title helps all Gentooers. (Button "edit" , first post)
Prof. Jonathan LF King, Mathematics dept., University of Florida |
|
Back to top |
|
|
|