kbuild: remove unused cmd_gentimeconst

filechk_gentimeconst is always used instead of cmd_gentimeconst.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
This commit is contained in:
Masahiro Yamada 2018-12-24 23:11:09 +09:00
parent 11fda14804
commit dec28d8ea2

4
Kbuild
View File

@ -26,10 +26,6 @@ timeconst-file := include/generated/timeconst.h
targets += $(timeconst-file) targets += $(timeconst-file)
quiet_cmd_gentimeconst = GEN $@
define cmd_gentimeconst
(echo $(CONFIG_HZ) | bc -q $< ) > $@
endef
define filechk_gentimeconst define filechk_gentimeconst
(echo $(CONFIG_HZ) | bc -q $< ) (echo $(CONFIG_HZ) | bc -q $< )
endef endef