summaryrefslogtreecommitdiffstats
path: root/lib/bb/tests
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/bb/tests
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/bb/tests')
-rw-r--r--lib/bb/tests/codeparser.py2
-rw-r--r--lib/bb/tests/cooker.py2
-rw-r--r--lib/bb/tests/cow.py2
-rw-r--r--lib/bb/tests/data.py2
-rw-r--r--lib/bb/tests/event.py2
-rw-r--r--lib/bb/tests/fetch.py2
-rw-r--r--lib/bb/tests/parse.py2
-rw-r--r--lib/bb/tests/persist_data.py2
-rw-r--r--lib/bb/tests/utils.py2
9 files changed, 18 insertions, 0 deletions
diff --git a/lib/bb/tests/codeparser.py b/lib/bb/tests/codeparser.py
index 3fd76a8f9..00ee6de53 100644
--- a/lib/bb/tests/codeparser.py
+++ b/lib/bb/tests/codeparser.py
@@ -6,6 +6,8 @@
# Copyright (C) 2010 Chris Larson
# Copyright (C) 2012 Richard Purdie
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/cooker.py b/lib/bb/tests/cooker.py
index 2b4423650..850dde4f6 100644
--- a/lib/bb/tests/cooker.py
+++ b/lib/bb/tests/cooker.py
@@ -3,6 +3,8 @@
#
# BitBake Tests for cooker.py
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/cow.py b/lib/bb/tests/cow.py
index d149d84d0..5051e4ed7 100644
--- a/lib/bb/tests/cow.py
+++ b/lib/bb/tests/cow.py
@@ -3,6 +3,8 @@
#
# BitBake Tests for Copy-on-Write (cow.py)
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# Copyright 2006 Holger Freyther <freyther@handhelds.org>
#
# This program is free software; you can redistribute it and/or modify
diff --git a/lib/bb/tests/data.py b/lib/bb/tests/data.py
index 3c511f214..b584edee5 100644
--- a/lib/bb/tests/data.py
+++ b/lib/bb/tests/data.py
@@ -6,6 +6,8 @@
# Copyright (C) 2010 Chris Larson
# Copyright (C) 2012 Richard Purdie
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/event.py b/lib/bb/tests/event.py
index d3a5f6269..4822dc7bc 100644
--- a/lib/bb/tests/event.py
+++ b/lib/bb/tests/event.py
@@ -5,6 +5,8 @@
#
# Copyright (C) 2017 Intel Corporation
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/fetch.py b/lib/bb/tests/fetch.py
index 429998b34..559b4892e 100644
--- a/lib/bb/tests/fetch.py
+++ b/lib/bb/tests/fetch.py
@@ -5,6 +5,8 @@
#
# Copyright (C) 2012 Richard Purdie
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/parse.py b/lib/bb/tests/parse.py
index 747fc35fc..bbb4dc376 100644
--- a/lib/bb/tests/parse.py
+++ b/lib/bb/tests/parse.py
@@ -5,6 +5,8 @@
#
# Copyright (C) 2015 Richard Purdie
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/persist_data.py b/lib/bb/tests/persist_data.py
index 812bcbd7b..6aee9f1ca 100644
--- a/lib/bb/tests/persist_data.py
+++ b/lib/bb/tests/persist_data.py
@@ -5,6 +5,8 @@
#
# Copyright (C) 2018 Garmin Ltd.
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
diff --git a/lib/bb/tests/utils.py b/lib/bb/tests/utils.py
index f1cd83a41..13351068d 100644
--- a/lib/bb/tests/utils.py
+++ b/lib/bb/tests/utils.py
@@ -5,6 +5,8 @@
#
# Copyright (C) 2012 Richard Purdie
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.