summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorJerome Forissier <jerome@forissier.org>2020-10-16 06:11:49 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2020-10-16 21:11:20 +0300
commit3e89ad8506f39c4739a6c9ca1e1552f506f000c9 (patch)
tree01ec68a088acc8fca1587554ae8d272780f364c0 /.gitignore
parent004fba1ae6ddd66ba0faa4f60c603b3ca77b3554 (diff)
downloadlinux-3e89ad8506f39c4739a6c9ca1e1552f506f000c9.tar.xz
checkpatch: add --kconfig-prefix
Kconfig allows to customize the CONFIG_ prefix via the $CONFIG_ environment variable. Out-of-tree projects may therefore use Kconfig with a different prefix, or they may use a custom configuration tool which does not use the CONFIG_ prefix at all. Such projects may still want to adhere to the Linux kernel coding style and run checkpatch.pl. One example is OP-TEE [1] which does not use Kconfig but does have configuration options prefixed with CFG_. It also mostly follows the kernel coding style and therefore being able to use checkpatch is quite valuable. To make this possible, add the --kconfig-prefix command line option. [1] https://github.com/OP-TEE/optee_os Signed-off-by: Jerome Forissier <jerome@forissier.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Acked-by: Joe Perches <joe@perches.com> Link: http://lkml.kernel.org/r/20200818081732.800449-1-jerome@forissier.org Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions