VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Masahiro Yamada <masahiroy@kernel.org> 2021-07-14 13:23:49 +0900 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-25 14:37:35 +0200 commit: 753b33d387ec7e3831c5d189a7fd2e8db65c4d50 parent: 19edcd97727aae9362444a859a24d99a8730cb27
Commit Summary:
kbuild: do not suppress Kconfig prompts for silent build
Diffstat:
1 file changed, 5 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 975acb16046d..9d5ba18c0025 100644
--- a/Makefile
+++ b/Makefile
@@ -721,11 +721,12 @@ $(KCONFIG_CONFIG):
 # This exploits the 'multi-target pattern rule' trick.
 # The syncconfig should be executed only once to make all the targets.
 # (Note: use the grouped target '&:' when we bump to GNU Make 4.3)
-quiet_cmd_syncconfig = SYNC    $@
-      cmd_syncconfig = $(MAKE) -f $(srctree)/Makefile syncconfig
-
+#
+# Do not use $(call cmd,...) here. That would suppress prompts from syncconfig,
+# so you cannot notice that Kconfig is waiting for the user input.
 %/config/auto.conf %/config/auto.conf.cmd %/generated/autoconf.h: $(KCONFIG_CONFIG)
-	+$(call cmd,syncconfig)
+	$(Q)$(kecho) "  SYNC    $@"
+	$(Q)$(MAKE) -f $(srctree)/Makefile syncconfig
 else # !may-sync-config
 # External modules and some install targets need include/generated/autoconf.h
 # and include/config/auto.conf but do not care if they are up-to-date.