LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-25-2018, 11:19 AM   #1
Poison Nuke
Member
 
Registered: Aug 2012
Location: Germany
Posts: 40

Rep: Reputation: Disabled
kernel: make menuconfig after make defconfig?


Hello,

If I run the defconfig for my arch, and after that make menuconfig, will the menuconfig start from scratch or use the config from defconfig?
 
Old 05-25-2018, 12:26 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,511

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
As long as you don't run mrproper the config file will be where you left it. I had to go back later and add the driver for my wireless card
 
Old 05-25-2018, 12:28 PM   #3
Poison Nuke
Member
 
Registered: Aug 2012
Location: Germany
Posts: 40

Original Poster
Rep: Reputation: Disabled
so you can really use menuconfig to tweak the config from defconfig? Wasnt shure because when running menuconfig, a lot of scripts are invoked.
 
Old 05-25-2018, 03:15 PM   #4
hazel
Senior Member
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: Debian, Crux, LFS, AntiX
Posts: 2,477
Blog Entries: 6

Rep: Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204Reputation: 1204
Before you run menuconfig, you need a .config file. defconfig is one way of getting one with sensible defaults. There are other ways. For example, if you have a stock kernel of the same vintage, you can use the configuration file from that, but it will contain a lot of drivers that you don't actually need. Or if you have built an earlier kernel, you can use that config file for a later one.
 
Old 05-25-2018, 03:43 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Summer Midwest USA, Central Illinois, Winter Central Florida
Distribution: SlackwareŽ
Posts: 13,273
Blog Entries: 29

Rep: Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462Reputation: 2462
Moderator response

Moved: This thread is more suitable in <Linux - Kernel> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-25-2018, 06:49 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,258

Rep: Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640Reputation: 2640
There are (probably better) other options than defconfig -try "make help".
 
  


Reply


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] How to set make menuconfig to make the small size of kernel? Angela Wu Linux - Kernel 7 06-06-2013 02:12 AM
Help with make menuconfig for my kernel. Royle Debian 7 01-21-2007 11:05 PM
Error during make menuconfig in kernel 2.6.8 Nitin Jerath Linux - General 3 05-23-2006 07:52 AM
Problem in make menuconfig for 2.6.8 kernel Nitin Jerath Linux - Kernel 1 05-23-2006 07:10 AM
no make menuconfig in kernel-2.6.6??? kaise_sose Linux - Newbie 4 06-01-2004 11:45 PM

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

All times are GMT -5. The time now is 05:54 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration