From 9f192f2c009a078eeb3bccf386f569eba5ffbd24 Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Thu, 22 Dec 2016 10:21:11 -0700 Subject: [PATCH] UPSTREAM: 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. BUG=none BRANCH=none TEST=none Change-Id: Ib4e35cf71c5777adbd15132ad8c7414aadfe4d27 Signed-off-by: Patrick Georgi Original-Commit-Id: f3e26796c43c597c651181bd37f9a673b2162746 Original-Change-Id: Ie6a9c2d139ecd841d654943f14c119ebafd632f2 Original-Signed-off-by: Martin Roth Original-Reviewed-on: https://review.coreboot.org/17939 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Nico Huber Original-Reviewed-by: Patrick Georgi Reviewed-on: https://chromium-review.googlesource.com/427462 --- src/mainboard/Kconfig | 2 ++ 1 file changed, 2 insertions(+) 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