LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   kernel: make menuconfig after make defconfig? (https://www.linuxquestions.org/questions/linux-kernel-70/kernel-make-menuconfig-after-make-defconfig-4175630458/)

Poison Nuke 05-25-2018 10:19 AM

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?

colorpurple21859 05-25-2018 11:26 AM

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

Poison Nuke 05-25-2018 11:28 AM

so you can really use menuconfig to tweak the config from defconfig? Wasnt shure because when running menuconfig, a lot of scripts are invoked.

hazel 05-25-2018 02:15 PM

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.

onebuck 05-25-2018 02:43 PM

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.

syg00 05-25-2018 05:49 PM

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


All times are GMT -5. The time now is 03:38 PM.