diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,7 +1,7 @@ # Makefile - Main build script for sbc-harness project # # Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com> -# SPDX-Licence-Identifier: AGPL-3.0-or-later +# SPDX-License-Identifier: AGPL-3.0-or-later linux.git = $(HOME)/src/github.com/torvalds/linux @@ -104,6 +104,9 @@ lint/all: lint/%: if ! grep -q 'Copyright (C) 2024 Luke T. Shumaker' $$filename; then \ echo "$$filename is missing a copyright statement"; r=1; \ fi; \ + if ! grep -q ' SPDX-License-Identifier[:] ' $$filename; then \ + echo "$$filename is missing an SPDX-License-Identifier"; r=1; \ + fi; \ dscname_act=$$($(get_dscname) $$filename); \ dscname_exp=$$(echo "$$filename" | sed \ -e 's,.*/config/,,' \ |