aboutsummaryrefslogtreecommitdiffstats
path: root/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-05-04 10:41:13 +0100
commitff237c33337f4da2ca06c3a2c49699bc26608a6b (patch)
treeffe4392ebc075494b69e221e205f3a54a7a3137e /bin
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 'bin')
-rwxr-xr-xbin/bitbake2
-rwxr-xr-xbin/bitbake-diffsigs2
-rwxr-xr-xbin/bitbake-hashserv2
-rwxr-xr-xbin/bitbake-layers2
-rwxr-xr-xbin/bitbake-prserv4
-rwxr-xr-xbin/bitbake-selftest2
-rwxr-xr-xbin/bitbake-worker3
-rwxr-xr-xbin/bitdoc2
-rwxr-xr-xbin/git-make-shallow4
-rwxr-xr-xbin/toaster4
-rwxr-xr-xbin/toaster-eventreplay3
11 files changed, 28 insertions, 2 deletions
diff --git a/bin/bitbake b/bin/bitbake
index 716cb5554..0205b67f9 100755
--- a/bin/bitbake
+++ b/bin/bitbake
@@ -9,6 +9,8 @@
# Copyright (C) 2005 ROAD GmbH
# Copyright (C) 2006 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/bin/bitbake-diffsigs b/bin/bitbake-diffsigs
index 73229b773..de4e3786e 100755
--- a/bin/bitbake-diffsigs
+++ b/bin/bitbake-diffsigs
@@ -5,6 +5,8 @@
#
# Copyright (C) 2012-2013, 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/bin/bitbake-hashserv b/bin/bitbake-hashserv
index c49397b73..924e60259 100755
--- a/bin/bitbake-hashserv
+++ b/bin/bitbake-hashserv
@@ -2,6 +2,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/bin/bitbake-layers b/bin/bitbake-layers
index d184011ea..da5299051 100755
--- a/bin/bitbake-layers
+++ b/bin/bitbake-layers
@@ -7,6 +7,8 @@
# Copyright (C) 2011 Mentor Graphics Corporation
# Copyright (C) 2011-2015 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/bin/bitbake-prserv b/bin/bitbake-prserv
index f38d2dd88..1e9b6cbc1 100755
--- a/bin/bitbake-prserv
+++ b/bin/bitbake-prserv
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
import os
import sys,logging
import optparse
diff --git a/bin/bitbake-selftest b/bin/bitbake-selftest
index 99f1af910..5b2a5e1d1 100755
--- a/bin/bitbake-selftest
+++ b/bin/bitbake-selftest
@@ -2,6 +2,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/bin/bitbake-worker b/bin/bitbake-worker
index a9e997e1f..f63f060c5 100755
--- a/bin/bitbake-worker
+++ b/bin/bitbake-worker
@@ -1,4 +1,7 @@
#!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
import os
import sys
diff --git a/bin/bitdoc b/bin/bitdoc
index 274467882..cfe54a923 100755
--- a/bin/bitdoc
+++ b/bin/bitdoc
@@ -4,6 +4,8 @@
#
# Copyright (C) 2005 Holger Hans Peter Freyther
#
+# 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/bin/git-make-shallow b/bin/git-make-shallow
index 296d3a3db..57069f7ed 100755
--- a/bin/git-make-shallow
+++ b/bin/git-make-shallow
@@ -1,4 +1,8 @@
#!/usr/bin/env python3
+#
+# SPDX-License-Identifier: GPL-2.0-only
+#
+
"""git-make-shallow: make the current git repository shallow
Remove the history of the specified revisions, then optionally filter the
diff --git a/bin/toaster b/bin/toaster
index ecf66fa51..9da2a2649 100755
--- a/bin/toaster
+++ b/bin/toaster
@@ -3,7 +3,9 @@
# toaster - shell script to start Toaster
# Copyright (C) 2013-2015 Intel Corp.
-
+#
+# SPDX-License-Identifier: GPL-2.0-or-later
+#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
diff --git a/bin/toaster-eventreplay b/bin/toaster-eventreplay
index 80967a093..abd91fe8b 100755
--- a/bin/toaster-eventreplay
+++ b/bin/toaster-eventreplay
@@ -4,10 +4,11 @@
#
# Copyright (C) 2014 Alex Damian
#
+# SPDX-License-Identifier: GPL-2.0-only
+#
# This file re-uses code spread throughout other Bitbake source files.
# As such, all other copyrights belong to their own right holders.
#
-#
# 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.