编译内核:
make ARCH=x86_64
GEN ./Makefile
.config:6311:warning: override: reassigning to symbol EFI
.config:6312:warning: override: reassigning to symbol INTEL_IPU4_BXT_GP_PDATA
.config:6313:warning: override: reassigning to symbol VIDEO_CRLMODULE
.config:6315:warning: override: reassigning to symbol ABL_BOOTLOADER_CONTROL
.config:6316:warning: override: reassigning to symbol IP_NF_MATCH_RPFILTER
.config:6317:warning: override: reassigning to symbol IP6_NF_MATCH_RPFILTER
.config:6318:warning: override: reassigning to symbol KERNEL_LZ4
warning字面意思是“覆盖:重新分配给符号XXX”。
这种编译警告是由于内核中的配置重复了。
列如上图50 跟 51 行所示。
修改方法:
去掉 ** is not set 一行 就可以了。