Following was done for the stock RHEL9 kernel configuration with the source tarball **always** originating from kernel.org as the upstream: ``` cp ~/kernels/rhel/config-5.14.0-284.30.1.el9_2.aarch64 .config make savedefconfig 2>&1 | tee ~/kernels/rhel/log.savedefconfig cp defconfig ~/kernels/rhel/rhel.defconfig grep --line-regexp --fixed-strings --invert-match --file arch/arm64/configs/defconfig ~/kernels/rhel/rhel.defconfig > ~/kernels/rhel/diff.config cp ~/kernels/rhel/diff.config arch/arm64/configs/rhel.config ./scripts/kconfig/merge_config.sh arch/arm64/configs/defconfig arch/arm64/configs/rhel.config 2>&1 | tee ~/kernels/rhel/log.merge_config cp .config ~/kernels/rhel/.config ``` TODO1: find overrides by grepping for `Value of CONFIG_* is redefined by fragment arch/arm64/configs/rhel.config:` and remove them from config-aarch64 TODO2: find missing configs by grepping for `Value requested for CONFIG_* not in final .config` and fix them
15 lines
525 B
Plaintext
15 lines
525 B
Plaintext
HOSTCC scripts/basic/fixdep
|
|
HOSTCC scripts/kconfig/conf.o
|
|
HOSTCC scripts/kconfig/confdata.o
|
|
HOSTCC scripts/kconfig/expr.o
|
|
LEX scripts/kconfig/lexer.lex.c
|
|
YACC scripts/kconfig/parser.tab.[ch]
|
|
HOSTCC scripts/kconfig/lexer.lex.o
|
|
HOSTCC scripts/kconfig/menu.o
|
|
HOSTCC scripts/kconfig/parser.tab.o
|
|
HOSTCC scripts/kconfig/preprocess.o
|
|
HOSTCC scripts/kconfig/symbol.o
|
|
HOSTCC scripts/kconfig/util.o
|
|
HOSTLD scripts/kconfig/conf
|
|
.config:5533:warning: symbol value 'm' invalid for VFIO_VIRQFD
|