]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
kconfig: Adjust ordering so that defaults work as expected
authorSimon Glass <sjg@chromium.org>
Tue, 24 Feb 2015 13:26:19 +0000 (22:26 +0900)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 19:30:55 +0000 (21:30 +0200)
At present defaults in arch-specific Kconfig files are ignored if the
top-level item comes ahead of it in include order. This means that it is
not possible to have a U-Boot default that architectures and boards can
override. This does not seem very useful.

Move the include earlier to support this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Kconfig

diff --git a/Kconfig b/Kconfig
index 4cb51c0e5612113ad8331ed38a898929aa1043c7..6be33e30e2d3a3d3857e7b8d0a4a8135de04cd81 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -11,6 +11,9 @@ config UBOOTVERSION
 # Allow defaults in arch-specific code to override any given here
 source "arch/Kconfig"
 
+# Allow defaults in arch-specific code to override any given here
+source "arch/Kconfig"
+
 menu "General setup"
 
 config LOCALVERSION