[coreboot-gerrit] New patch to review for coreboot: kconfig: make oldconfig work "non-strict"

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Thu Feb 11 22:06:23 CET 2016


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13687

-gerrit

commit cf1838c25fae064e5c2734b6baf8ea37827d1165
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Thu Feb 11 22:04:55 2016 +0100

    kconfig: make oldconfig work "non-strict"
    
    oldconfig is regularly used to clean up templates that sometimes contain
    duplicates or old symbols.
    Since it cleans up the config, it doesn't need to fail on issues.
    
    Change-Id: Ife0e9e3b9bfdde1eb6be0e2e38e81b9042cb7950
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 util/kconfig/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index a7d3855..ffd5253 100644
--- a/util/kconfig/Makefile
+++ b/util/kconfig/Makefile
@@ -34,8 +34,10 @@ config: $(objk)/conf
 nconfig: $(objk)/nconf
 	$< $(Kconfig)
 
+# Disable strict mode because oldconfig is typically used to clean up
+# templates and the like. The second invocation should already have sane data.
 oldconfig: $(objk)/conf
-	$< --$@ $(Kconfig)
+	KCONFIG_STRICT= $< --$@ $(Kconfig)
 	$< --silentoldconfig $(Kconfig)
 
 silentoldconfig: $(objk)/conf



More information about the coreboot-gerrit mailing list