forked from Xilinx/u-boot-xlnx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Licenses: introduce SPDX Unique Lincense Identifiers
Like many other projects, U-Boot has a tradition of including big blocks of License headers in all files. This not only blows up the source code with mostly redundant information, but also makes it very difficult to generate License Clearing Reports. An additional problem is that even the same lincenses are referred to by a number of slightly varying text blocks (full, abbreviated, different indentation, line wrapping and/or white space, with obsolete address information, ...) which makes automatic processing a nightmare. To make this easier, such license headers in the source files will be replaced with a single line reference to Unique Lincense Identifiers as defined by the Linux Foundation's SPDX project [1]. For example, in a source file the full "GPL v2.0 or later" header text will be replaced by a single line: SPDX-License-Identifier: GPL-2.0+ We use the SPDX Unique Lincense Identifiers here; these are available at [2]. Note: From the legal point of view, this patch is supposed to be only a change to the textual representation of the license information, but in no way any change to the actual license terms. With this patch applied, all files will still be licensed under the same terms they were before. Note 2: The apparent difference between the old "COPYING" and the new "Licenses/gpl-2.0.txt" only results from switching to the upstream version of the license which is differently formatted; there are not any actual changes to the content. Note 3: There are some recurring questions about linense issues, such as: - Is a "All Rights Reserved" clause a problem in GPL code? - Are files without any license header a problem? - Do we need license headers at all? The following excerpt from an e-mail by Daniel B. Ravicher should help with these: | Message-ID: <[email protected]> | Date: Wed, 21 Oct 2009 18:35:22 -0400 | From: "Daniel B. Ravicher" <[email protected]> | To: Wolfgang Denk <[email protected]> | Subject: Re: GPL and license cleanup questions | | Mr. Denk, | | Wolfgang Denk wrote: | > - There are a number of files which do not include any specific | > license information at all. Is it correct to assume that these files | > are automatically covered by the "GPL v2 or later" clause as | > specified by the COPYING file in the top level directory of the | > U-Boot source tree? | | That is a very fact specific analysis and could be different across the | various files. However, if the contributor could reasonably be expected | to have known that the project was licensed GPLv2 or later at the time | she made her contribution, then a reasonably implication is that she | consented to her contributions being distributed under those terms. | | > - Do such files need any clean up, for example should we add GPL | > headers to them, or is this not needed? | | If the project as a whole is licensed under clear terms, you need not | identify those same terms in each file, although there is no harm in | doing so. | | > - There are other files, which include both a GPL license header | > _plus_ some copyright note with an "All Rights Reserved" clause. It | > has been my understanding that this is a conflict, and me must ask | > the copyright holders to remove such "All Rights Reserved" clauses. | > But then, some people claim that "All Rights Reserved" is a no-op | > nowadays. License checking tools (like OSLC) seem to indicate this is | > a problem, but then we see quite a lot of "All rights reserved" in | > BSD-licensed files in gcc and glibc. So what is the correct way to | > deal with such files? | | It is not a conflict to grant a license and also reserve all rights, as | implicit in that language is that you are reserving all "other" rights | not granted in the license. Thus, a file with "Licensed under GPL, All | Rights Reserved" would mean that it is licensed under the GPL, but no | other rights are given to copy, modify or redistribute it. | | Warm regards, | --Dan | | Daniel B. Ravicher, Legal Director | Software Freedom Law Center (SFLC) and Moglen Ravicher LLC | 1995 Broadway, 17th Fl., New York, NY 10023 | (212) 461-1902 direct (212) 580-0800 main (212) 580-0898 fax | [email protected] www.softwarefreedom.org [1] http://spdx.org/ [2] http://spdx.org/licenses/ Signed-off-by: Wolfgang Denk <[email protected]>
- Loading branch information
Showing
9 changed files
with
150 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
GPL License Exception: | ||
|
||
Even though U-Boot in general is covered by the GPL-2.0/GPL-2.0+, | ||
this does *not* cover the so-called "standalone" applications that | ||
use U-Boot services by means of the jump table provided by U-Boot | ||
exactly for this purpose - this is merely considered normal use of | ||
U-Boot, and does *not* fall under the heading of "derived work". | ||
|
||
The header files "include/image.h" and "arch/*/include/asm/u-boot.h" | ||
define interfaces to U-Boot. Including these (unmodified) header | ||
files in another file is considered normal use of U-Boot, and does | ||
*not* fall under the heading of "derived work". | ||
-- Wolfgang Denk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
U-Boot is Free Software. It is copyrighted by Wolfgang Denk and | ||
many others who contributed code (see the actual source code and the | ||
git commit messages for details). You can redistribute U-Boot and/or | ||
modify it under the terms of version 2 of the GNU General Public | ||
License as published by the Free Software Foundation. Most of it can | ||
also be distributed, at your option, under any later version of the | ||
GNU General Public License -- see individual files for exceptions. | ||
|
||
NOTE! This license does *not* cover the so-called "standalone" | ||
applications that use U-Boot services by means of the jump table | ||
provided by U-Boot exactly for this purpose - this is merely | ||
considered normal use of U-Boot, and does *not* fall under the | ||
heading of "derived work" -- see file Licenses/Exceptions for | ||
details. | ||
|
||
Also note that the GPL and the other licenses are copyrighted by | ||
the Free Software Foundation and other organizations, but the | ||
instance of code that they refer to (the U-Boot source code) is | ||
copyrighted by me and others who actually wrote it. | ||
-- Wolfgang Denk | ||
|
||
|
||
Like many other projects, U-Boot has a tradition of including big | ||
blocks of License headers in all files. This not only blows up the | ||
source code with mostly redundant information, but also makes it very | ||
difficult to generate License Clearing Reports. An additional problem | ||
is that even the same licenses are referred to by a number of | ||
slightly varying text blocks (full, abbreviated, different | ||
indentation, line wrapping and/or white space, with obsolete address | ||
information, ...) which makes automatic processing a nightmare. | ||
|
||
To make this easier, such license headers in the source files will be | ||
replaced with a single line reference to Unique License Identifiers | ||
as defined by the Linux Foundation's SPDX project [1]. For example, | ||
in a source file the full "GPL v2.0 or later" header text will be | ||
replaced by a single line: | ||
|
||
SPDX-License-Identifier: GPL-2.0+ | ||
|
||
We use the SPDX Unique License Identifiers here; these are available | ||
at [2]. | ||
|
||
[1] http://spdx.org/ | ||
[2] http://spdx.org/licenses/ | ||
|
||
Full name SPDX Identifier OSI Approved File name URI | ||
======================================================================================================================================= | ||
GNU General Public License v2.0 only GPL-2.0 Y gpl-2.0.txt http://www.gnu.org/licenses/gpl-2.0.txt | ||
GNU General Public License v2.0 or later GPL-2.0+ Y gpl-2.0.txt http://www.gnu.org/licenses/gpl-2.0.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,8 @@ | ||
# | ||
# (C) Copyright 2000-2012 | ||
# (C) Copyright 2000-2013 | ||
# Wolfgang Denk, DENX Software Engineering, [email protected]. | ||
# | ||
# See file CREDITS for list of people who contributed to this | ||
# project. | ||
# | ||
# 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 Foundatio; either version 2 of | ||
# the License, or (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
# MA 02111-1307 USA | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
|
||
VERSION = 2013 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,8 @@ | ||
# | ||
# (C) Copyright 2000 - 2012 | ||
# (C) Copyright 2000 - 2013 | ||
# Wolfgang Denk, DENX Software Engineering, [email protected]. | ||
# | ||
# See file CREDITS for list of people who contributed to this | ||
# project. | ||
# | ||
# 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 (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
# MA 02111-1307 USA | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
|
||
Summary: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,9 @@ | ||
# | ||
# (C) Copyright 2000-2006 | ||
# (C) Copyright 2000-2013 | ||
# Wolfgang Denk, DENX Software Engineering, [email protected]. | ||
# | ||
# See file CREDITS for list of people who contributed to this | ||
# project. | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
# 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 (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
# MA 02111-1307 USA | ||
# | ||
|
||
######################################################################### | ||
|
||
# Set shell to bash if possible, otherwise fall back to sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,9 @@ | |
# | ||
# Parameters: Target Architecture CPU Board [VENDOR] [SOC] | ||
# | ||
# (C) 2002-2010 DENX Software Engineering, Wolfgang Denk <[email protected]> | ||
# (C) 2002-2013 DENX Software Engineering, Wolfgang Denk <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
|
||
APPEND=no # Default: Create new config file | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,9 @@ | ||
# | ||
# (C) Copyright 2006 | ||
# (C) Copyright 2006-2013 | ||
# Wolfgang Denk, DENX Software Engineering, [email protected]. | ||
# | ||
# See file CREDITS for list of people who contributed to this | ||
# project. | ||
# SPDX-License-Identifier: GPL-2.0+ | ||
# | ||
# 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 (at your option) any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program; if not, write to the Free Software | ||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, | ||
# MA 02111-1307 USA | ||
# | ||
|
||
######################################################################### | ||
|
||
_depend: $(obj).depend | ||
|