aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bblayers
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-04-30 11:05:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-04 10:41:13 +0100
commitff237c33337f4da2ca06c3a2c49699bc26608a6b (patch)
treeffe4392ebc075494b69e221e205f3a54a7a3137e /lib/bblayers
parent93e94c06baf013e3d072465a55bddd1fe61c0772 (diff)
downloadbitbake-ff237c33337f4da2ca06c3a2c49699bc26608a6b.tar.gz
bitbake: Add initial pass of SPDX license headers to source code
This adds the SPDX-License-Identifier license headers to the majority of our source files to make it clearer exactly which license files are under. The bulk of the files are under GPL v2.0 with one found to be under V2.0 or later, some under MIT and some have dual license. There are some files which are potentially harder to classify where we've imported upstream code and those can be handled specifically in later commits. The COPYING file is replaced with LICENSE.X files which contain the full license texts. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bblayers')
-rw-r--r--lib/bblayers/__init__.py4
-rw-r--r--lib/bblayers/action.py4
-rw-r--r--lib/bblayers/common.py4
-rw-r--r--lib/bblayers/layerindex.py4
-rw-r--r--lib/bblayers/query.py4
5 files changed, 20 insertions, 0 deletions
diff --git a/lib/bblayers/__init__.py b/lib/bblayers/__init__.py
index 3ad9513f4..4e7c09da0 100644
--- a/lib/bblayers/__init__.py
+++ b/lib/bblayers/__init__.py
@@ -1,2 +1,6 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
diff --git a/lib/bblayers/action.py b/lib/bblayers/action.py
index a3f658f93..d6459d661 100644
--- a/lib/bblayers/action.py
+++ b/lib/bblayers/action.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
import fnmatch
import logging
import os
diff --git a/lib/bblayers/common.py b/lib/bblayers/common.py
index 98515ced4..c5657d381 100644
--- a/lib/bblayers/common.py
+++ b/lib/bblayers/common.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
import argparse
import logging
import os
diff --git a/lib/bblayers/layerindex.py b/lib/bblayers/layerindex.py
index b2ff2268e..57cd9027f 100644
--- a/lib/bblayers/layerindex.py
+++ b/lib/bblayers/layerindex.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
import layerindexlib
import argparse
diff --git a/lib/bblayers/query.py b/lib/bblayers/query.py
index 9294dfa88..993589de9 100644
--- a/lib/bblayers/query.py
+++ b/lib/bblayers/query.py
@@ -1,3 +1,7 @@
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
import collections
import fnmatch
import logging