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-06-19 18:04:01 +0100
commite1db6a16905f1f7af73e92019b8124881701b81a (patch)
tree99a5afff6908d94f02aa6a966fec38411363ba73 /bitbake/lib/bb/parse
parentb164f0dc3e69ba9cb552b48834cd6c50f50c5000 (diff)
downloadpoky-e1db6a16905f1f7af73e92019b8124881701b81a.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: ac556588fac55e91b7ce4839a975eb9ebb5aa192) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> 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 9dba5f2334..492057b443 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.