]> 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)
commit31cd08bb77fa28976d4829fb1931cd3845686bd7
tree82ac6f321415ebfad378c249abb1779aeeb95c59
parent9eee308215ced6731add49ec139c0188848ce91e
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