Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 11-24-2012, 08:52 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 4

Rep: Reputation: Disabled
Where to add CONFIG_... things?

I have suggestions to change my kernel config by adding lines like:


Where is the place where I could add such lines in kernel sources?
Old 11-24-2012, 09:47 AM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I don't think you would do it in the actual source code. When compiling the kernel, there is typically a configuration file that gets used. Do a google search using "kernel configuration file" and see where that leads you. Also look at "make menuconfig"
1 members found this post helpful.
Old 11-24-2012, 10:33 AM   #3
LQ Newbie
Registered: Aug 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled

.config in main kernel sources directory.

Thanks for help.


I wanted to add that lines, but if I'm starting my compilation, new .config file is created:

scripts/kconfig/conf --silentoldconfig Kconfig
# configuration written to .config

I suppose that my .config file is not taken into account because of that --silentoldconfig. How could I change it?

Last edited by valdez151; 11-24-2012 at 11:37 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Can I add things to the unity bar at the top of the screen? ddc441 Ubuntu 4 05-09-2012 08:41 AM
Programmatically set CONFIG_* to 'm', where possible jhwilliams Linux - Kernel 4 12-02-2011 06:42 AM
building external module, howto override CONFIG_ option? Meson Linux - Kernel 2 11-12-2011 02:44 PM
How do I remove all lines starting with "-CONFIG_" from a file ? Glenn D. Linux - Kernel 4 10-05-2010 09:36 AM
Can't to do two things at once nor add to the panel {e} Mandriva 2 08-04-2007 12:27 AM > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration