summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@chromium.org>2016-02-11 22:04:55 +0100
committerPatrick Georgi <pgeorgi@google.com>2016-02-15 08:03:56 +0100
commit4ed5cb3fb3c8f92e4f0dd3554de97670aff47b03 (patch)
tree60ad56fb4bdffc40af0a4f0f81a0eb270ba513f2 /util
parent13a2e949d5970b9ff09cdd7d8a3943f111538d83 (diff)
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@chromium.org> Reviewed-on: https://review.coreboot.org/13687 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'util')
-rw-r--r--util/kconfig/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile
index a7d3855e03..ffd5253aef 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