LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


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

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


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

CONFIG_OMAP_IOMMU=y
CONFIG_OMAP_IOMMU_IVA2=y

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

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
valdez151
LQ Newbie
 
Registered: Aug 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Ok.

.config in main kernel sources directory.

Thanks for help.

EDIT:

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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:44 PM.

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