]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - Kbuild
kbuild: use assignment instead of define ... endef for filechk_* rules
[thirdparty/linux.git] / Kbuild
diff --git a/Kbuild b/Kbuild
index 06b801e12fb45bbee2256e5c7717c3750695de27..65db5bef2e3617eb080569c1061e72a8750a7394 100644 (file)
--- a/Kbuild
+++ b/Kbuild
@@ -26,9 +26,7 @@ timeconst-file := include/generated/timeconst.h
 
 targets += $(timeconst-file)
 
-define filechk_gentimeconst
-       echo $(CONFIG_HZ) | bc -q $<
-endef
+filechk_gentimeconst = echo $(CONFIG_HZ) | bc -q $<
 
 $(timeconst-file): kernel/time/timeconst.bc FORCE
        $(call filechk,gentimeconst)