summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-03-25 12:16:30 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2020-03-29 22:37:53 +0900
commitf463c3510d44ab11da607d7c3b289f90ea467d1b (patch)
tree6678cf0b08d337eeb6e11f2636c48828032e5a69 /Makefile
parent735aab1e008b6d9ba8057caa647b6619bf73460f (diff)
kbuild: add comment about grouped target
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 4697d7ce15f2..7863d2a8de6c 100644
--- 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