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/riscv/Kconfig | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'arch/riscv') diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 4764fdeb4f1f..082486cddf31 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -212,8 +212,6 @@ endmenu menu "Kernel type" -source "mm/Kconfig" - source "kernel/Kconfig.preempt" source "kernel/Kconfig.hz" @@ -242,28 +240,12 @@ source "drivers/pci/Kconfig" endmenu -source "init/Kconfig" - -source "kernel/Kconfig.freezer" - -menu "Executable file formats" - -source "fs/Kconfig.binfmt" - -endmenu - menu "Power management options" source kernel/power/Kconfig endmenu -source "net/Kconfig" - -source "drivers/Kconfig" - -source "fs/Kconfig" - menu "Kernel hacking" config CMDLINE_BOOL @@ -308,9 +290,3 @@ source "lib/Kconfig.debug" config CMDLINE_BOOL bool endmenu - -source "security/Kconfig" - -source "crypto/Kconfig" - -source "lib/Kconfig" -- cgit