OSDN Git Service

kbuild: add comment about grouped target
authorMasahiro Yamada <masahiroy@kernel.org>
Wed, 25 Mar 2020 03:16:30 +0000 (12:16 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 29 Mar 2020 13:37:53 +0000 (22:37 +0900)
GNU Make commit 8c888d95f618 ("[SV 8297] Implement "grouped targets"
for explicit rules.") added the '&:' syntax.

I think '&:' is a perfect fit here, but we cannot use it any time
soon. Just add a TODO comment.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile

index 4697d7c..7863d2a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -677,6 +677,7 @@ $(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)
 %/auto.conf %/auto.conf.cmd: $(KCONFIG_CONFIG)
        $(Q)$(MAKE) -f $(srctree)/Makefile syncconfig
 else # !may-sync-config