]> git.ipfire.org Git - people/ms/linux.git/commit - Kbuild
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)
commitba97df45581f09a987ffa38444c33ed6a0a9479e
tree82ac6f321415ebfad378c249abb1779aeeb95c59
parentd6e4b3e326d8b44675b9e19534347d97073826aa
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