From 1572497cb0e6d2016078bc9d5a95786bb878389f Mon Sep 17 00:00:00 2001 From: Christoph Hellwig Date: Tue, 31 Jul 2018 13:39:30 +0200 Subject: kconfig: include common Kconfig files from top-level Kconfig Instead of duplicating the source statements in every architecture just do it once in the toplevel Kconfig file. Note that with this the inclusion of arch/$(SRCARCH/Kconfig moves out of the top-level Kconfig into arch/Kconfig so that don't violate ordering constraits while keeping a sensible menu structure. Signed-off-by: Christoph Hellwig Signed-off-by: Masahiro Yamada --- arch/nios2/Kconfig | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'arch/nios2/Kconfig') diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 3f9d4ef8b20f..2d813dfdb8cb 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -45,18 +45,12 @@ config RWSEM_GENERIC_SPINLOCK config TRACE_IRQFLAGS_SUPPORT def_bool n -source "init/Kconfig" - menu "Kernel features" source "kernel/Kconfig.preempt" -source "kernel/Kconfig.freezer" - source "kernel/Kconfig.hz" -source "mm/Kconfig" - config FORCE_MAX_ZONEORDER int "Maximum zone order" range 9 20 @@ -194,22 +188,4 @@ config NIOS2_IO_REGION_BASE endmenu -menu "Executable file formats" - -source "fs/Kconfig.binfmt" - -endmenu - -source "net/Kconfig" - -source "drivers/Kconfig" - -source "fs/Kconfig" - source "arch/nios2/Kconfig.debug" - -source "security/Kconfig" - -source "crypto/Kconfig" - -source "lib/Kconfig" -- cgit