Patrick Georgi has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/44622 )
Change subject: tree-wide: Remove mentions of the silentoldconfig kconfig target ......................................................................
tree-wide: Remove mentions of the silentoldconfig kconfig target
It's been replaced by syncconfig. Since those can be interactive, which is not what we need in tests, prepare the config with olddefconfig to avoid any questions.
Change-Id: I9b3d91ba8fdafdd86f8b76ac545b8f6da5c2cda4 Signed-off-by: Patrick Georgi pgeorgi@google.com --- M Documentation/getting_started/kconfig.md M Makefile M tests/Makefile.inc 3 files changed, 3 insertions(+), 6 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/44622/1
diff --git a/Documentation/getting_started/kconfig.md b/Documentation/getting_started/kconfig.md index ff8d3dc..0e984e6 100644 --- a/Documentation/getting_started/kconfig.md +++ b/Documentation/getting_started/kconfig.md @@ -55,10 +55,6 @@ - savedefconfig - Creates a ‘defconfig’ file, stripping out all of the symbols that were left as default values. This is very useful for debugging, and is how config files should be saved. -- silentoldconfig - This evaluates the .config file the same way that the - oldconfig target does, but does not print out each question as it is - evaluated. It still stops to query the user if an option with no answer in - the .config file is found.
### Targets not typically used in coreboot diff --git a/Makefile b/Makefile index 2705c66..ad93f6f 100644 --- a/Makefile +++ b/Makefile @@ -179,7 +179,8 @@ .DELETE_ON_ERROR:
$(KCONFIG_AUTOHEADER): $(KCONFIG_CONFIG) $(objutil)/kconfig/conf - +$(MAKE) oldconfig + +$(MAKE) olddefconfig + +$(MAKE) syncconfig
$(KCONFIG_AUTOCONFIG): $(KCONFIG_AUTOHEADER) true diff --git a/tests/Makefile.inc b/tests/Makefile.inc index 53c0edf..0264c29 100644 --- a/tests/Makefile.inc +++ b/tests/Makefile.inc @@ -134,7 +134,7 @@ $(TEST_KCONFIG_AUTOHEADER): $(TEST_DOTCONFIG) $(objutil)/kconfig/conf mkdir -p $(dir $@) +$(MAKE) $(TEST_KCONFIG_FLAGS) olddefconfig - +$(MAKE) $(TEST_KCONFIG_FLAGS) silentoldconfig + +$(MAKE) $(TEST_KCONFIG_FLAGS) syncconfig
$(TEST_KCONFIG_AUTOCONFIG): $(TEST_KCONFIG_AUTOHEADER) true