summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse
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:44:04 +0100
commit79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b (patch)
tree52e6473c7ee9687b2c4b6c8a2eb39da9b73ddaa5 /bitbake/lib/bb/parse
parent5eb53830942141bfe57251dffecda36df90a62c1 (diff)
downloadpoky-79834a71447f89c52c6c9ad62c9bcbf9b8e0e05b.tar.gz
bitbake: 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. (Bitbake rev: ff237c33337f4da2ca06c3a2c49699bc26608a6b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/parse')
-rw-r--r--bitbake/lib/bb/parse/__init__.py2
-rw-r--r--bitbake/lib/bb/parse/ast.py2
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py2
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py2
-rw-r--r--bitbake/lib/bb/parse/parse_py/__init__.py2
5 files changed, 10 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 5397d57a51..8ff1b8a24a 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -9,6 +9,8 @@ File parsers for the BitBake build tools.
9# Copyright (C) 2003, 2004 Chris Larson 9# Copyright (C) 2003, 2004 Chris Larson
10# Copyright (C) 2003, 2004 Phil Blundell 10# Copyright (C) 2003, 2004 Phil Blundell
11# 11#
12# SPDX-License-Identifier: GPL-2.0-only
13#
12# This program is free software; you can redistribute it and/or modify 14# This program is free software; you can redistribute it and/or modify
13# it under the terms of the GNU General Public License version 2 as 15# it under the terms of the GNU General Public License version 2 as
14# published by the Free Software Foundation. 16# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 6d7c80b34f..cf76dadbaa 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -8,6 +8,8 @@
8# Copyright (C) 2003, 2004 Phil Blundell 8# Copyright (C) 2003, 2004 Phil Blundell
9# Copyright (C) 2009 Holger Hans Peter Freyther 9# Copyright (C) 2009 Holger Hans Peter Freyther
10# 10#
11# SPDX-License-Identifier: GPL-2.0-only
12#
11# This program is free software; you can redistribute it and/or modify 13# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License version 2 as 14# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 15# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index 314e8021f9..297ab77909 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -12,6 +12,8 @@
12# Copyright (C) 2003, 2004 Chris Larson 12# Copyright (C) 2003, 2004 Chris Larson
13# Copyright (C) 2003, 2004 Phil Blundell 13# Copyright (C) 2003, 2004 Phil Blundell
14# 14#
15# SPDX-License-Identifier: GPL-2.0-only
16#
15# This program is free software; you can redistribute it and/or modify 17# This program is free software; you can redistribute it and/or modify
16# it under the terms of the GNU General Public License version 2 as 18# it under the terms of the GNU General Public License version 2 as
17# published by the Free Software Foundation. 19# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index ea49f8ca93..d1784b6c5b 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -11,6 +11,8 @@
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# Copyright (C) 2003, 2004 Phil Blundell 12# Copyright (C) 2003, 2004 Phil Blundell
13# 13#
14# SPDX-License-Identifier: GPL-2.0-only
15#
14# This program is free software; you can redistribute it and/or modify 16# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License version 2 as 17# it under the terms of the GNU General Public License version 2 as
16# published by the Free Software Foundation. 18# published by the Free Software Foundation.
diff --git a/bitbake/lib/bb/parse/parse_py/__init__.py b/bitbake/lib/bb/parse/parse_py/__init__.py
index 3e658d0de9..a8f78dba76 100644
--- a/bitbake/lib/bb/parse/parse_py/__init__.py
+++ b/bitbake/lib/bb/parse/parse_py/__init__.py
@@ -11,6 +11,8 @@ File parsers for the BitBake build tools.
11# Copyright (C) 2003, 2004 Chris Larson 11# Copyright (C) 2003, 2004 Chris Larson
12# Copyright (C) 2003, 2004 Phil Blundell 12# Copyright (C) 2003, 2004 Phil Blundell
13# 13#
14# SPDX-License-Identifier: GPL-2.0-only
15#
14# This program is free software; you can redistribute it and/or modify 16# This program is free software; you can redistribute it and/or modify
15# it under the terms of the GNU General Public License version 2 as 17# it under the terms of the GNU General Public License version 2 as
16# published by the Free Software Foundation. 18# published by the Free Software Foundation.