Closed silvanshade closed 3 months ago
CONFIG_KEXEC_FILE depends on CONFIG_CRASH_DUMP. if you want to disable CONFIG_CRASH_DUMP, please also disable CONFIG_KEXEC_FILE.
CONFIG_KEXEC_FILE depends on CONFIG_CRASH_DUMP.
Are you sure this is the case? The definition of KEXEC_FILE
does not seem to have a depends on CRASH_DUMP
:
and:
Without this change, compiling without CONFIG_CRASH_DUMP
will cause undeclared function errors.
elf_kexec.c and image_kexec.c under arch/riscv/kernel directory both call some functions defined in kexec/crash_core.c. This is an implicit dependency and it is not reflected in Kconfig.
@xingxg2022 Why did you close it? I was planning to modify with your suggestion.
This commit fixes the kernel build when
CONFIG_CRASH_DUMP
is not enabled. /cc @xingxg2022