]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: use assignment instead of define ... endef for filechk_* rules
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 3 Jan 2019 01:16:54 +0000 (10:16 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 6 Jan 2019 01:22:35 +0000 (10:22 +0900)
commitf7a88bbff600f8bf0e33d8bca3d8347a3e5947bc
tree82ac6f321415ebfad378c249abb1779aeeb95c59
parent078d79c3b4efb117dd110a2f8a3cd7ebabd6c77b
kbuild: use assignment instead of define ... endef for filechk_* rules

You do not have to use define ... endef for filechk_* rules.

For simple cases, the use of assignment looks cleaner, IMHO.

I updated the usage for scripts/Kbuild.include in case somebody
misunderstands the 'define ... endif' is the requirement.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Kbuild
Makefile
arch/s390/kernel/syscalls/Makefile
arch/s390/tools/Makefile
scripts/Kbuild.include
scripts/kconfig/Makefile