summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-12-22 10:21:11 -0700
committerNico Huber <nico.h@gmx.de>2017-01-06 21:33:58 +0100
commitf3e26796c43c597c651181bd37f9a673b2162746 (patch)
tree0266e7aee924d51820ff50ba73eb7da6a2649a6c /src
parent8f8d56dded9a9fcf5af64996fde946cf372755f2 (diff)
Kconfig: Remind users to delete .config when switching boards
Because Kconfig default values *ONLY* get set when they are first configured, if you switch mainboards with an existing .config, the values will not be set as expected for the new board. This seems to confuse most users, so put a warning in a visible location to let them know. Change-Id: Ie6a9c2d139ecd841d654943f14c119ebafd632f2 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/17939 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 24c1fe3777..bdaa9e75c9 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -1,3 +1,5 @@
+comment "Important: Run 'make distclean' before switching boards"
+
choice
prompt "Mainboard vendor"
default VENDOR_EMULATION