aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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