我正在通过 Debian linux-2.6 源码包构建 Linux 内核。
现在子配置中有 CONFIG_VZ_FAIRSCHED=y ,它被合并到最终的 .config 中,显然也使用了“y”:
# grep FAIRSCHED debian/config/**/*
debian/config/featureset-openvz/config:CONFIG_VZ_FAIRSCHED=y
构建期间使用的 .config:
# grep FAIRSCHED debian/build/build_amd64_openvz_amd64/.config
CONFIG_VZ_FAIRSCHED=y
如果现在使用“n”,我可以理解这个警告,但似乎没有任何改变?!
这是调用期间的输出make -f debian/rules.gen binary-arch_amd64_openvz_amd64 binary-indep
:
make[2]: Entering directory `/var/lib/vz/private/linux.nobackup/linux-2.6/debian/build/source_amd64_openvz'
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
GEN /var/lib/vz/private/linux.nobackup/linux-2.6/debian/build/build_amd64_openvz_amd64/Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -R arch/x86/Kconfig
.config:3518:warning: override: VZ_FAIRSCHED changes choice state
这个警告指的是什么?
答案1
盲目猜测:CONFIG_VZ_FAIRSCHED=y
强制输入一个值其他内核配置选项。该选项的帮助文本说明了什么?