From 659e2e9da9a7d570827984cb3afdb2a44c3672e3 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 25 Apr 2020 17:19:28 +0200 Subject: LICENSES: move the GPL-2.0 license as required by checkpatch The script spdxcheck.py (used by checkpatch.pl) searches for the license files in a dedicated folder, split in the subfolders: "preferred", "dual", "deprecated", "exceptions". Move the GPL-2.0 license from COPYING to the subfolder preferred, adding the header required by spdxcheck.py. The header is copied from equivalent file in the Linux kernel, made by Thomas Gleixner . Note: the license in COPYING matches exactly https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt Add a minimalist COPYING in the top directory, as required by automake, pointing to the files in LICENSES. Change-Id: I1fd0abc57b554d74f0b00fabd6c8c822b2c4acb5 Signed-off-by: Antonio Borneo Reviewed-on: http://openocd.zylin.com/5967 Tested-by: jenkins --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 85287c5..cdd4ccb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,6 +50,7 @@ EXTRA_DIST += \ README.macOS \ $(EXTRA_DIST_NEWS) \ Doxyfile.in \ + LICENSES/preferred/GPL-2.0 \ tools/logger.pl \ tools/rlink_make_speed_table \ tools/st7_dtc_as \ -- cgit v1.1