]> git.droids-corp.org - dpdk.git/commit
checkpatches: ability to pass custom options
authorOlivier Matz <olivier.matz@6wind.com>
Tue, 21 May 2019 12:11:23 +0000 (14:11 +0200)
committerOlivier Matz <olivier.matz@6wind.com>
Wed, 22 May 2019 16:16:17 +0000 (18:16 +0200)
commit4bccbe5921d84222e55fbd5dc3eec999fb24497c
tree90a4ee3f658ee42091d4146a4787914517806cc5
parent7e9562a107f170be5979199ae53a9780ce8cb81e
checkpatches: ability to pass custom options

Add the ability to pass custom options to checkpatch script. An example
of use is to change the output format so it can run in emacs compilation
mode:

  DPDK_CHECKPATCH_PATH=/path/to/linux/scripts/checkpatch.pl \
    DPDK_CHECKPATCH_OPTIONS='--emacs --showfile --no-color' \
    /path/to/dpdk.org/devtools/checkpatches.sh

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
devtools/checkpatches.sh