path: root/Kconfig
diff options
authorChristoph Hellwig <>2018-07-31 13:39:30 +0200
committerMasahiro Yamada <>2018-08-02 08:03:23 +0900
commit1572497cb0e6d2016078bc9d5a95786bb878389f (patch)
tree6b9ad32cab4e45531cbb1b6954a74d0e42ea5ffb /Kconfig
parent17c46a6aff5c423f406adfb06eb832f771c06bd1 (diff)
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 <>
Diffstat (limited to 'Kconfig')
1 files changed, 21 insertions, 1 deletions
diff --git a/Kconfig b/Kconfig
index a90d9f9e268b..1a5c0a5d4ea1 100644
--- a/Kconfig
+++ b/Kconfig
@@ -9,4 +9,24 @@ comment "Compiler: $(CC_VERSION_TEXT)"
source "scripts/Kconfig.include"
-source "arch/$(SRCARCH)/Kconfig"
+source "init/Kconfig"
+source "kernel/Kconfig.freezer"
+menu "Executable file formats"
+source "fs/Kconfig.binfmt"
+source "mm/Kconfig"
+source "net/Kconfig"
+source "drivers/Kconfig"
+source "fs/Kconfig"
+source "security/Kconfig"
+source "crypto/Kconfig"
+source "lib/Kconfig"