Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Finding .config option in menuconfig or xconfig [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Wed Jan 26, 2005 11:07 pm    Post subject: Finding .config option in menuconfig or xconfig [SOLVED] Reply with quote

Suppose I know then name, e.g
CONFIG_RTC
of a ".config" option for the kernel. In
Code:
make xconfig

or
Code:
make menuconfig

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
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Wed Jan 26, 2005 11:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Wed Jan 26, 2005 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
lookinin
Guru
Guru


Joined: 21 Jan 2005
Posts: 486

PostPosted: Thu Jan 27, 2005 12:00 am    Post subject: Reply with quote

bollucks wrote:

In recent kernels only you can do a search function using '/' in make menuconfig.


8O Excellent!
Back to top
View user's profile Send private message
gentsquash
l33t
l33t


Joined: 03 Nov 2004
Posts: 753
Location: Still a Gentoo beginner.

PostPosted: Thu Jan 27, 2005 4:16 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum