[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
Fri Jan 6 20:19:08 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 14fffaafa21eaf10af43885e660e2904f4f94f29
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..bdaa9e7 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



More information about the coreboot-gerrit mailing list