mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
Kconfig: regularize selection of CONFIG_BINFMT_ELF
with mips converted to use of fs/config_binfmt_elf.c, there's no need to keep selects of that thing all over arch/* - we can simply turn into def_bool y if COMPAT && BINFMT_ELF (in fs/Kconfig.binfmt) and get rid of all selects. Several architectures got those selects wrong (e.g. you could end up with sparc64 sans BINFMT_ELF, with select violating dependencies, etc.) Randy Dunlap has spotted some of those; IMO this is simpler than his fix, but it depends upon the stuff that would need to be backported, so we might end up using his variant for -stable. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -29,7 +29,7 @@ config BINFMT_ELF
|
||||
latest version).
|
||||
|
||||
config COMPAT_BINFMT_ELF
|
||||
bool
|
||||
def_bool y
|
||||
depends on COMPAT && BINFMT_ELF
|
||||
select ELFCORE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user