Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the .config File

  1. Check whether the configuration items of the .config file are correct. If any configuration items are incorrect or missing, manually modify or add the configuration items.
    1
    # sudo vim .config
    
    Modify the configuration items in the .config file.
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    CONFIG_BINFMT_MISC=y
    CONFIG_EXAGEAR_BT=y
    CONFIG_CHECKPOINT_RESTORE=y
    CONFIG_PROC_CHILDREN=y
    CONFIG_VFAT_FS=y
    CONFIG_INPUT_UINPUT=y
    CONFIG_HISI_PMU=y
    CONFIG_SYSTEM_TRUSTED_KEYS=""
    # CONFIG_DEBUG_INFO is not set
    # CONFIG_PID_RESERVE is not set
    # CONFIG_PSI_DEFAULT_DISABLED is not set
    # CONFIG_DEFAULT_SECURITY_SELINUX is not set
    CONFIG_DEFAULT_SECURITY_APPARMOR=y
    CONFIG_LSM="lockdown,yama,integrity,apparmor"
    CONFIG_SND_HDA_INTEL=m
    

    The CONFIG_DEBUG_INFO item in the .config file must be configured following the above code segment. Modify the entire segment, including #.