mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 23:04:50 +00:00
checkpatch: Ignore SPDX_LICENSE_TAG
The Linux kernel expects the SPDX license tag in the first line of each source code file in a comment. In the context of the Linux kernel repository this makes sense because they have many different license headers across their codebase. Moving the tag to the first line of the source code files makes it easier for analyzers to see the license of each file. In the Trusted Firmware, we control all headers and make sure that they follow the same pattern, so this is not needed. Change-Id: Ie19802c7b65b1bdd63da9ece64311aec1f8ad7fe Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
This commit is contained in:
parent
a8d9550b52
commit
90582e4db3
1 changed files with 4 additions and 0 deletions
|
@ -36,6 +36,10 @@
|
|||
# This is not Linux so don't expect a Linux tree!
|
||||
--no-tree
|
||||
|
||||
# The Linux kernel expects the SPDX license tag in the first line of each file.
|
||||
# We don't follow this in the Trusted Firmware.
|
||||
--ignore SPDX_LICENSE_TAG
|
||||
|
||||
# This clarifes the lines indications in the report.
|
||||
#
|
||||
# E.g.:
|
||||
|
|
Loading…
Add table
Reference in a new issue