Add checkpatch.pl config file and Makefile targets

This is used to verify the coding style of patches.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-01-02 16:25:04 +01:00
parent 72f801283d
commit 3c15b141e0
4 changed files with 91 additions and 2 deletions

View File

@@ -123,9 +123,11 @@ This is the complete list of user-defined variables:
- `PREFIX`: Location where RGBDS will be installed. Defaults to `/usr/local`.
- `bindir`: Location where the binaries will be installed. Defaults to `${PREFIX}/bin`.
- `bindir`: Location where the binaries will be installed. Defaults to
`${PREFIX}/bin`.
- `mandir`: Location where the manpages will be installed. Defaults to `${PREFIX}/man`.
- `mandir`: Location where the manpages will be installed. Defaults to
`${PREFIX}/man`.
- `DESTDIR`: This is prepended to all paths during the installation. It is
mainly used for packaging.
@@ -140,6 +142,9 @@ This is the complete list of user-defined variables:
- `MANMODE`: Permissions of the installed manpages. Defaults to `444`.
- `CHECKPATCH`: Path of the script `checkpatch.pl` of the Linux kernel. Defaults
to `../linux/scripts/checkpatch.pl`.
## 3 History
- Around 1997, Carsten Sorensen (AKA SurfSmurf) writes ASMotor as a