summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2025-06-11 16:22:53 -0600
committerTom Rini <trini@konsulko.com>2025-06-11 16:22:53 -0600
commitd142036b4cff0faaf81b8837376c8913bc87423c (patch)
tree8f212098f6ecc550183c69b0097013de97d7a2e2 /scripts/Kbuild.include
parentae297ca722ffdb0ae7d76e3fde637f91d4d79e81 (diff)
parent070b81458aec02f0cde69f87b28fa82c5bb8e906 (diff)
Merge patch series "Update the kbuild system to 5.1"
Ilias Apalodimas <ilias.apalodimas@linaro.org> says: Another series backporting and merging patches from Linux 5.1 kbuild. There is still a gap that I plan to update after this series gets merged [0] [0] https://source.denx.de/u-boot/custodians/u-boot-tpm/-/commit/5da099cef04fb5c02dcafab8d1bab8ddc2855765 Link: https://lore.kernel.org/r/20250611202449.2317279-1-ilias.apalodimas@linaro.org
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r--scripts/Kbuild.include7
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index c0d3440a4b3..fd7a744478f 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -49,11 +49,10 @@ kecho := $($(quiet)kecho)
###
# filechk is used to check if the content of a generated file is updated.
# Sample usage:
-# define filechk_sample
-# echo $KERNELRELEASE
-# endef
-# version.h : Makefile
+# filechk_sample = echo $(KERNELRELEASE)
+# version.h: FORCE
# $(call filechk,sample)
+#
# The rule defined shall write to stdout the content of the new file.
# The existing file will be compared with the new one.
# - If no file exist it is created