Modify Linux kernel compilation options

xiaoxiao2021-03-06  73

Modify Linux kernel compilation options

When Make MenuConfig, the program reads the config.in file in each directory to generate the kernel configuration dialog.

Take the config.in file under the FS directory as an example.

Bool 'Quota Support' Config_quota

BOOL 'POSIX Access Control List Support' config_fs_posix_acl

Tristate 'kernel automounter support' config_autofs_fs

DEP_TRISTATE 'Reiserfs Support' config_reiserfs_fs $ config_experimental

DEP_MBOOL 'HAVE REISERFS Do Extra InterNal Checking' config_reiserfs_check $ config_reiserfs_fs $ config_experimental

DEP_MBOOL 'Stats In / Proc / FS / Reiserfs' config_reiserfs_proc_info $ config_reiserfs_fs $ config_experimental

BOOL indicates that an option is defined, the selected state can be selected / not selected.

Tristate means that an option is defined, the selected state can be selected / not selected / module.

DEP_TRISTATE means that you want to rely on some options to define an option, that is, the option is defined, before defining this option.

DEP_MBOOL, dep_bool means that this option is defined to rely on some options to define an option, which means that this option is defined. I still don't know what differences they have.

The general default option is in the Arch / XXX / DEFCONFIG file. When you perform Make MenuConfig, you will read which options are selected, if you want to change those changes to the default, File.

转载请注明原文地址:https://www.9cbs.com/read-91392.html

New Post(0)