Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e17c6d56 authored by David Woodhouse's avatar David Woodhouse Committed by David Woodhouse
Browse files

Introduce HAVE_AOUT symbol to remove hard-coded arch list for BINFMT_AOUT



HAVE_AOUT doesn't quite do the same thing as the recently removed
ARCH_SUPPORTS_AOUT config option. That was set even on platforms where
binfmt_aout isn't supported, although it's not entirely clear why.

So it's best just to introduce a new symbol, handled consistently with
other similar HAVE_xxx symbols; with a simple 'select' in the arch Kconfig.

Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 6b213e1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
config ALPHA
	bool
	default y
	select HAVE_AOUT
	select HAVE_IDE
	select HAVE_OPROFILE
	help
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ mainmenu "Linux Kernel Configuration"
config ARM
	bool
	default y
	select HAVE_AOUT
	select HAVE_IDE
	select RTC_LIB
	select SYS_SUPPORTS_APM_EMULATION
+1 −0
Original line number Diff line number Diff line
@@ -5,6 +5,7 @@
config M68K
	bool
	default y
	select HAVE_AOUT
	select HAVE_IDE

config MMU
+3 −2
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ config UML_X86
config X86_32
	bool
	default y
  	select HAVE_AOUT

config RWSEM_XCHGADD_ALGORITHM
	def_bool y
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@ config X86_64
### Arch settings
config X86
	def_bool y
	select HAVE_AOUT if X86_32
	select HAVE_UNSTABLE_SCHED_CLOCK
	select HAVE_IDE
	select HAVE_OPROFILE
Loading