scripts: add checkpatch wrapper
authorThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 22 Oct 2015 18:26:28 +0000 (20:26 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 2 Dec 2015 23:03:03 +0000 (00:03 +0100)
commitb07c376464a242038f7b3463b869a0b6e838bd4e
treef422259ad4ea350a395a93f5b3014ed6df61a0ea
parentf528a67fc566eed859cc373aebaafbd5930998f4
scripts: add checkpatch wrapper

This script can be used to call checkpatch.pl from Linux with some
custom DPDK options.

The path to the original Linux script must be set in an environment
variable. A script is added to load any configuration variables
required by development tools from a file .develconfig, or
~/.config/dpdk/devel.config or /etc/dpdk/devel.config.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
v2:
- do not ignore COMPLEX_MACRO
- use option --no-tree to avoid silent failure
- add -q and -v options
MAINTAINERS
scripts/checkpatches.sh [new file with mode: 0755]
scripts/load-devel-config.sh [new file with mode: 0755]