Add checkpatch configuration file

Capture checkpatch.pl command line arguments in .checkpatch The file
assumes some processing when used:
  - Lines starting with # shall be removed.
  - Shell variables have to be evaluated.

The above can be done when using bash like:
  checkpatch.pl $(eval echo $(sed 's/#.*//g; /^$/d' ".checkpatch"))

Note: the eval imposes a security risk as it will execute unknown code
from .checkpatch. A solution can be to replace variables with their
values like:
  sed 's/#.*//g; /^$/d' ".checkpatch"\
    | sed "s#\$CODESPELL_FILE#$CODESPELL_FILE#"

Signed-off-by: Gyorgy Szing <Gyorgy.Szing@arm.com>
Change-Id: I79ba6c2ee4db64acf4c53bb6b1b9731509aa83cc
1 file changed