You are not logged in.

#1 2017-08-10 08:55:45

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Question about editing config.x86_64.

Hi all,

I want to rice my kernel and I have a question. In config.x86_64 there are blocks like this:

#
# Speakup console speech
#
CONFIG_SPEAKUP=m
CONFIG_SPEAKUP_SYNTH_ACNTSA=m
...
CONFIG_STAGING_MEDIA=y
...

I'm using this block as an example, but I would like to know if 'CONFIG_*=' were set to 'n', does that disable everything within that block from compiling, including defaults marked as '=m' and '=y'?

Thanks!


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#2 2017-08-10 11:21:41

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: Question about editing config.x86_64.

No. Each config option is separate.

Some options may depend on some other option, so blindly disabling options in the .config file will most likely mess up your build.

That's why you shouldn't edit the kernel .config by hand. Use e.g. "make menuconfig" or other kernel configuration utilty, that does some sanity checks for your configuration.

Offline

#3 2017-08-10 11:57:28

ArchLinuxBestLinux
Member
Registered: 2017-01-03
Posts: 15

Re: Question about editing config.x86_64.

Good to know. Thanks, ooo!


Arch x86_64  + linux-hardened + zsh + i3
Gigabyte GA-MA785GM-US2H + AMD Phenom II X6 1090T + NVIDIA GeForce GTX 750 Ti

Offline

#4 2017-08-10 14:05:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Question about editing config.x86_64.

Best strategy is to save the auto generated .config after you use nconfig to setup to your liking.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB