Commit 7882d2c4 authored by Thomas Weißschuh's avatar Thomas Weißschuh Committed by Paul Walmsley
Browse files

riscv: Respect dependencies of ARCH_HAS_ELF_CORE_EFLAGS



This kconfig symbol has dependencies and is only selectable if those
dependencies are also enabled.

Respect the dependencies.

Fixes the following warning when configuring an 'allnoconfig':

WARNING: unmet direct dependencies detected for ARCH_HAS_ELF_CORE_EFLAGS
  Depends on [n]: BINFMT_ELF [=n] && ELF_CORE [=y]
  Selected by [y]:
  - RISCV [=y]

Fixes: 8c94db0a ("binfmt_elf: preserve original ELF e_flags for core dumps")
Signed-off-by: default avatarThomas Weißschuh <thomas.weissschuh@linutronix.de>
Link: https://lore.kernel.org/r/20251009-riscv-elf-core-eflags-v1-1-e9b45ab6b36d@linutronix.de


Signed-off-by: default avatarPaul Walmsley <pjw@kernel.org>
parent 69a8b62a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment