linux/arch/sparc
Randy Dunlap 80bddf5c93 sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
Currently COMPAT on SPARC64 selects COMPAT_BINFMT_ELF unconditionally,
even when BINFMT_ELF is not enabled. This causes a kconfig warning.

Instead, just select COMPAT_BINFMT_ELF if BINFMT_ELF is enabled.
This builds cleanly with no kconfig warnings.

WARNING: unmet direct dependencies detected for COMPAT_BINFMT_ELF
  Depends on [n]: COMPAT [=y] && BINFMT_ELF [=n]
  Selected by [y]:
  - COMPAT [=y] && SPARC64 [=y]

Fixes: 26b4c91218 ("sparc,sparc64: unify Kconfig files")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: sparclinux@vger.kernel.org
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-02-18 16:28:18 -08:00
..
boot sparc: piggyback: handle invalid image 2020-06-22 15:44:44 -07:00
configs sparc: sparc64_defconfig: add necessary configs for qemu 2021-02-18 16:17:39 -08:00
crypto crypto: lib/sha1 - remove unnecessary includes of linux/cryptohash.h 2020-05-08 15:32:17 +10:00
include sparc: remove SA_STATIC_ALLOC macro definition 2020-09-14 17:04:49 -07:00
kernel sparc32: Preserve clone syscall flags argument for restarts due to signals 2021-02-18 16:15:11 -08:00
lib sparc32: fix a user-triggerable oops in clear_user() 2020-07-21 18:23:55 -07:00
math-emu sparc: Use fallthrough pseudo-keyword 2020-07-21 18:28:00 -07:00
mm sparc32: Limit memblock allocation to low memory 2021-02-18 16:14:31 -08:00
net treewide: Use sizeof_field() macro 2019-12-09 10:36:44 -08:00
oprofile
power
prom
vdso mmap locking API: use coccinelle to convert mmap_sem rwsem call sites 2020-06-09 09:39:14 -07:00
Kbuild
Kconfig sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set 2021-02-18 16:28:18 -08:00
Kconfig.debug
Makefile