summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
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/bin
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/bin')
-rwxr-xr-xbitbake/bin/bitbake2
-rwxr-xr-xbitbake/bin/bitbake-diffsigs2
-rwxr-xr-xbitbake/bin/bitbake-hashserv2
-rwxr-xr-xbitbake/bin/bitbake-layers2
-rwxr-xr-xbitbake/bin/bitbake-prserv4
-rwxr-xr-xbitbake/bin/bitbake-selftest2
-rwxr-xr-xbitbake/bin/bitbake-worker3
-rwxr-xr-xbitbake/bin/bitdoc2
-rwxr-xr-xbitbake/bin/git-make-shallow4
-rwxr-xr-xbitbake/bin/toaster4
-rwxr-xr-xbitbake/bin/toaster-eventreplay3
11 files changed, 28 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 55eb530899..cd1adc3703 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -9,6 +9,8 @@
9# Copyright (C) 2005 ROAD GmbH 9# Copyright (C) 2005 ROAD GmbH
10# Copyright (C) 2006 Richard Purdie 10# Copyright (C) 2006 Richard Purdie
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/bin/bitbake-diffsigs b/bitbake/bin/bitbake-diffsigs
index fa430bb3b3..673565a84f 100755
--- a/bitbake/bin/bitbake-diffsigs
+++ b/bitbake/bin/bitbake-diffsigs
@@ -5,6 +5,8 @@
5# 5#
6# Copyright (C) 2012-2013, 2017 Intel Corporation 6# Copyright (C) 2012-2013, 2017 Intel Corporation
7# 7#
8# SPDX-License-Identifier: GPL-2.0-only
9#
8# This program is free software; you can redistribute it and/or modify 10# This program is free software; you can redistribute it and/or modify
9# it under the terms of the GNU General Public License version 2 as 11# it under the terms of the GNU General Public License version 2 as
10# published by the Free Software Foundation. 12# published by the Free Software Foundation.
diff --git a/bitbake/bin/bitbake-hashserv b/bitbake/bin/bitbake-hashserv
index c49397b73a..924e602592 100755
--- a/bitbake/bin/bitbake-hashserv
+++ b/bitbake/bin/bitbake-hashserv
@@ -2,6 +2,8 @@
2# 2#
3# Copyright (C) 2018 Garmin Ltd. 3# Copyright (C) 2018 Garmin Ltd.
4# 4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# published by the Free Software Foundation.
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index d184011ea6..da52990515 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -7,6 +7,8 @@
7# Copyright (C) 2011 Mentor Graphics Corporation 7# Copyright (C) 2011 Mentor Graphics Corporation
8# Copyright (C) 2011-2015 Intel Corporation 8# Copyright (C) 2011-2015 Intel Corporation
9# 9#
10# SPDX-License-Identifier: GPL-2.0-only
11#
10# This program is free software; you can redistribute it and/or modify 12# This program is free software; you can redistribute it and/or modify
11# it under the terms of the GNU General Public License version 2 as 13# it under the terms of the GNU General Public License version 2 as
12# published by the Free Software Foundation. 14# published by the Free Software Foundation.
diff --git a/bitbake/bin/bitbake-prserv b/bitbake/bin/bitbake-prserv
index f38d2dd882..1e9b6cbc1b 100755
--- a/bitbake/bin/bitbake-prserv
+++ b/bitbake/bin/bitbake-prserv
@@ -1,4 +1,8 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5
2import os 6import os
3import sys,logging 7import sys,logging
4import optparse 8import optparse
diff --git a/bitbake/bin/bitbake-selftest b/bitbake/bin/bitbake-selftest
index 99f1af910f..5b2a5e1d15 100755
--- a/bitbake/bin/bitbake-selftest
+++ b/bitbake/bin/bitbake-selftest
@@ -2,6 +2,8 @@
2# 2#
3# Copyright (C) 2012 Richard Purdie 3# Copyright (C) 2012 Richard Purdie
4# 4#
5# SPDX-License-Identifier: GPL-2.0-only
6#
5# This program is free software; you can redistribute it and/or modify 7# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License version 2 as 8# it under the terms of the GNU General Public License version 2 as
7# published by the Free Software Foundation. 9# published by the Free Software Foundation.
diff --git a/bitbake/bin/bitbake-worker b/bitbake/bin/bitbake-worker
index a9e997e1f6..f63f060c57 100755
--- a/bitbake/bin/bitbake-worker
+++ b/bitbake/bin/bitbake-worker
@@ -1,4 +1,7 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
2 5
3import os 6import os
4import sys 7import sys
diff --git a/bitbake/bin/bitdoc b/bitbake/bin/bitdoc
index 2744678824..cfe54a9236 100755
--- a/bitbake/bin/bitdoc
+++ b/bitbake/bin/bitdoc
@@ -4,6 +4,8 @@
4# 4#
5# Copyright (C) 2005 Holger Hans Peter Freyther 5# Copyright (C) 2005 Holger Hans Peter Freyther
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License version 2 as 10# it under the terms of the GNU General Public License version 2 as
9# published by the Free Software Foundation. 11# published by the Free Software Foundation.
diff --git a/bitbake/bin/git-make-shallow b/bitbake/bin/git-make-shallow
index 296d3a3dbd..57069f7edf 100755
--- a/bitbake/bin/git-make-shallow
+++ b/bitbake/bin/git-make-shallow
@@ -1,4 +1,8 @@
1#!/usr/bin/env python3 1#!/usr/bin/env python3
2#
3# SPDX-License-Identifier: GPL-2.0-only
4#
5
2"""git-make-shallow: make the current git repository shallow 6"""git-make-shallow: make the current git repository shallow
3 7
4Remove the history of the specified revisions, then optionally filter the 8Remove the history of the specified revisions, then optionally filter the
diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster
index ecf66fa51f..9da2a2649c 100755
--- a/bitbake/bin/toaster
+++ b/bitbake/bin/toaster
@@ -3,7 +3,9 @@
3# toaster - shell script to start Toaster 3# toaster - shell script to start Toaster
4 4
5# Copyright (C) 2013-2015 Intel Corp. 5# Copyright (C) 2013-2015 Intel Corp.
6 6#
7# SPDX-License-Identifier: GPL-2.0-or-later
8#
7# This program is free software; you can redistribute it and/or modify 9# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by 10# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or 11# the Free Software Foundation; either version 2 of the License, or
diff --git a/bitbake/bin/toaster-eventreplay b/bitbake/bin/toaster-eventreplay
index 80967a0934..abd91fe8b2 100755
--- a/bitbake/bin/toaster-eventreplay
+++ b/bitbake/bin/toaster-eventreplay
@@ -4,10 +4,11 @@
4# 4#
5# Copyright (C) 2014 Alex Damian 5# Copyright (C) 2014 Alex Damian
6# 6#
7# SPDX-License-Identifier: GPL-2.0-only
8#
7# This file re-uses code spread throughout other Bitbake source files. 9# This file re-uses code spread throughout other Bitbake source files.
8# As such, all other copyrights belong to their own right holders. 10# As such, all other copyrights belong to their own right holders.
9# 11#
10#
11# This program is free software; you can redistribute it and/or modify 12# 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 13# it under the terms of the GNU General Public License version 2 as
13# published by the Free Software Foundation. 14# published by the Free Software Foundation.