Skip to contentSkip to conversation

Kbuild.include: remove leftover comment for filechk utility

PATCH In review Rasmus Villemoes 2 participants 2 messages Oct 16, 2020 – Oct 17, 2020 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Kbuild.include: remove leftover comment for filechk utility

After commit 43fee2b23895 ("kbuild: do not redirect the first prerequisite for filechk"), the rule is no longer automatically passed $< as stdin, so remove the stale comment.

Fixes 43fee2b23895 ("kbuild: do not redirect the first prerequisite for filechk")
---
 scripts/Kbuild.include | 2 --
 1 file changed, 2 deletions(-)
scripts/Kbuild.include +0 -2
index 83a1637417e5..08e011175b4c 100644
@@ -56,8 +56,6 @@ kecho := $($(quiet)kecho)
 # - If no file exist it is created
 # - If the content differ the new file is used
 # - If they are equal no change, and no timestamp update
-# - stdin is piped in from the first prerequisite ($<) so one has
-#   to specify a valid file as first prerequisite (often the kbuild file)
 define filechk
 	$(Q)set -e;						\
 	mkdir -p $(dir $@);					\
Signature · 1 line
2.23.0
#1 lore raw
Quoted 8 lines · Rasmus Villemoes

After commit 43fee2b23895 ("kbuild: do not redirect the first prerequisite for filechk"), the rule is no longer automatically passed $< as stdin, so remove the stale comment.

Fixes 43fee2b23895 ("kbuild: do not redirect the first prerequisite for filechk")

---

Applied to linux-kbuild. Thanks.

Quoted 19 lines
 scripts/Kbuild.include | 2 --
 1 file changed, 2 deletions(-)
scripts/Kbuild.include +0 -3
index 83a1637417e5..08e011175b4c 100644
@@ -56,8 +56,6 @@ kecho := $($(quiet)kecho)
 # - If no file exist it is created
 # - If the content differ the new file is used
 # - If they are equal no change, and no timestamp update
-# - stdin is piped in from the first prerequisite ($<) so one has
-#   to specify a valid file as first prerequisite (often the kbuild file)
 define filechk
        $(Q)set -e;                                             \
        mkdir -p $(dir $@);                                     \
--

2.23.0

Signature · 2 lines
Best Regards
Masahiro Yamada