[coreboot-gerrit] Patch set updated for coreboot: Kconfig: Remind users to delete .config when switching boards

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Tue Jan 3 03:37:01 CET 2017


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17939

-gerrit

commit a8e93e17ce50f84271d83ed12a18892341f0a097
Author: Martin Roth <martinroth at google.com>
Date:   Thu Dec 22 10:21:11 2016 -0700

    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 at google.com>
---
 src/mainboard/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/mainboard/Kconfig b/src/mainboard/Kconfig
index 24c1fe3..08af722 100644
--- a/src/mainboard/Kconfig
+++ b/src/mainboard/Kconfig
@@ -1,3 +1,5 @@
+comment "Important: Always start with an empty .config when switching mainboards"
+
 choice
 	prompt "Mainboard vendor"
 	default VENDOR_EMULATION



More information about the coreboot-gerrit mailing list