Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-23 | scripts: Add checkpatch script and change check defaults | Konstantin Porotchkin | |
Please do not push this patch to the mainline, it is intended to be used with Marvell CI only. Add checkpatch.pl script to the source tree and modify the checkpatch settings provided by the mainline (checkpatch.conf) The mainline configuration is created for unmodified checkpatch from latest kernel sources. It includes option --showfile which is not supported by the regular u-boot/ATF checkpatch script. Change-Id: Id36a49b7844e08751214b55db602b31621ef0b3c Signed-off-by: Konstantin Porotchkin <kostap@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/37920 Reviewed-by: Haim Boot <hayim@marvell.com> | |||
2016-06-06 | Move checkpatch options in a configuration file | Sandrine Bailleux | |
At the moment, the top Makefile specifies the options to pass to the checkpatch script in order to check the coding style. The checkpatch script also supports reading its options from a configuration file rather than from the command line. This patch makes use of this feature and moves the checkpatch options out of the Makefile. This simplifies the Makefile and makes things clearer. This patch also adds some more checkpatch options: --showfile --ignore FILE_PATH_CHANGES --ignore AVOID_EXTERNS --ignore NEW_TYPEDEFS --ignore VOLATILE The rationale behind each of these options has been documented in the configuration file. Change-Id: I423e1abe5670c0f57046cbf705f89a8463898676 |