devtools: add checkpatch spelling dictionary builder
authorThomas Monjalon <thomas@monjalon.net>
Tue, 7 Jul 2020 08:35:55 +0000 (10:35 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 30 Jul 2020 23:09:26 +0000 (01:09 +0200)
commit7dba4148cacf92090ecc0173e6e4658d28f1e25a
tree0f9febf15099e8fd650021edb8a4ab7dfa2c5aa3
parentb071f1fa8825f51a9e81921f05f31c36e57c43cf
devtools: add checkpatch spelling dictionary builder

The script checkpatch.pl (used in checkpatches.sh) can use a dictionary
from the codespell project to check spelling.
There are multiple dictionaries to be used.

The script build-dict.sh concatenate multiple dictionaries and remove
some annoying false positives.

The dictionary built by this script must be saved in a file which
is referenced with the environment variable DPDK_CHECKPATCH_CODESPELL.
The easiest is to export this variable in ~/.config/dpdk/devel.config.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
MAINTAINERS
devtools/build-dict.sh [new file with mode: 0755]