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>
Showing
- Kbuild 1 addition, 3 deletionsKbuild
- Makefile 1 addition, 2 deletionsMakefile
- arch/s390/kernel/syscalls/Makefile 3 additions, 9 deletionsarch/s390/kernel/syscalls/Makefile
- arch/s390/tools/Makefile 2 additions, 5 deletionsarch/s390/tools/Makefile
- scripts/Kbuild.include 4 additions, 4 deletionsscripts/Kbuild.include
- scripts/kconfig/Makefile 1 addition, 3 deletionsscripts/kconfig/Makefile
Loading
Please register or sign in to comment