mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 01:49:46 +00:00
sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
[ Upstream commit80bddf5c93] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
79796706ac
commit
103ca2da81
@@ -496,7 +496,7 @@ config COMPAT
|
|||||||
bool
|
bool
|
||||||
depends on SPARC64
|
depends on SPARC64
|
||||||
default y
|
default y
|
||||||
select COMPAT_BINFMT_ELF
|
select COMPAT_BINFMT_ELF if BINFMT_ELF
|
||||||
select HAVE_UID16
|
select HAVE_UID16
|
||||||
select ARCH_WANT_OLD_COMPAT_IPC
|
select ARCH_WANT_OLD_COMPAT_IPC
|
||||||
select COMPAT_OLD_SIGACTION
|
select COMPAT_OLD_SIGACTION
|
||||||
|
|||||||
Reference in New Issue
Block a user