[v2] pmdinfogen: add SPDX license tag

Message ID 20190927083956.30311-1-hemant.agrawal@nxp.com (mailing list archive)
State Accepted, archived
Delegated to: Thomas Monjalon
Headers
Series [v2] pmdinfogen: add SPDX license tag |

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/iol-dpdk_compile success Compile Testing PASS
ci/iol-dpdk_compile_ovs success Compile Testing PASS
ci/checkpatch success coding style OK
ci/iol-dpdk_compile_spdk success Compile Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS

Commit Message

Hemant Agrawal Sept. 27, 2019, 8:39 a.m. UTC
  This patch adds SPDX license tag to pmdinfogen files.

These files are originally drived from kernel.
They are being used as binary tool to support internal
build.

This patch requires license exception approval from
DPDK Technical Board and Governing Board.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
---
 buildtools/pmdinfogen/pmdinfogen.c | 7 ++-----
 buildtools/pmdinfogen/pmdinfogen.h | 8 ++------
 license/exceptions.txt             | 4 ++--
 3 files changed, 6 insertions(+), 13 deletions(-)
  

Comments

Thomas Monjalon Feb. 22, 2020, 12:25 p.m. UTC | #1
27/09/2019 10:39, Hemant Agrawal:
> This patch adds SPDX license tag to pmdinfogen files.
> 
> These files are originally drived from kernel.
> They are being used as binary tool to support internal
> build.
> 
> This patch requires license exception approval from
> DPDK Technical Board and Governing Board.
> 
> Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> Acked-by: Neil Horman <nhorman@tuxdriver.com>
> ---
> --- a/license/exceptions.txt
> +++ b/license/exceptions.txt
> @@ -7,12 +7,12 @@ Note that following licenses are not exceptions:-
>  	- BSD-3-Clause
>  	- Dual BSD-3-Clause OR GPL-2.0
>  	- Dual BSD-3-Clause OR LGPL-2.1
> -	- GPL-2.0  (*Only for kernel code*)
> +	- GPL-2.0  (*Only for kernel code and tools*)

GPL tools remain exceptions according to the Governing Board.
I will drop the addition of tools in "not exceptions" list.

>  -----------------------------------------------------------------
>  SPDX Identifier     TB Approval Date  GB Approval Date  File name
>  -----------------------------------------------------------------
> -1.
> +1.GPL-2.0	25-Sep-2019 TBD		buildtools/pmdinfogen/pmdinfogen.*
>  
>  -----------------------------------------------------------------

The pmdinfogen exception was approved by the Governing Board on 12/18/2019.

Applied with above changes, thanks.
  

Patch

diff --git a/buildtools/pmdinfogen/pmdinfogen.c b/buildtools/pmdinfogen/pmdinfogen.c
index dc0b6d5ff..a68d1ea99 100644
--- a/buildtools/pmdinfogen/pmdinfogen.c
+++ b/buildtools/pmdinfogen/pmdinfogen.c
@@ -1,11 +1,8 @@ 
-/* Postprocess pmd object files to export hw support
+/* SPDX-License-Identifier: GPL-2.0
+ * Postprocess pmd object files to export hw support
  *
  * Copyright 2016 Neil Horman <nhorman@tuxdriver.com>
  * Based in part on modpost.c from the linux kernel
- *
- * This software may be used and distributed according to the terms
- * of the GNU General Public License V2, incorporated herein by reference.
- *
  */
 
 #include <stdio.h>
diff --git a/buildtools/pmdinfogen/pmdinfogen.h b/buildtools/pmdinfogen/pmdinfogen.h
index c8a9e2136..e6ba54535 100644
--- a/buildtools/pmdinfogen/pmdinfogen.h
+++ b/buildtools/pmdinfogen/pmdinfogen.h
@@ -1,12 +1,8 @@ 
-
-/* Postprocess pmd object files to export hw support
+/* SPDX-License-Identifier: GPL-2.0
+ * Postprocess pmd object files to export hw support
  *
  * Copyright 2016 Neil Horman <nhorman@tuxdriver.com>
  * Based in part on modpost.c from the linux kernel
- *
- * This software may be used and distributed according to the terms
- * of the GNU General Public License V2, incorporated herein by reference.
- *
  */
 
 #include <stdio.h>
diff --git a/license/exceptions.txt b/license/exceptions.txt
index f1cfa462f..1acd5733f 100644
--- a/license/exceptions.txt
+++ b/license/exceptions.txt
@@ -7,12 +7,12 @@  Note that following licenses are not exceptions:-
 	- BSD-3-Clause
 	- Dual BSD-3-Clause OR GPL-2.0
 	- Dual BSD-3-Clause OR LGPL-2.1
-	- GPL-2.0  (*Only for kernel code*)
+	- GPL-2.0  (*Only for kernel code and tools*)
 
 -----------------------------------------------------------------
 SPDX Identifier     TB Approval Date  GB Approval Date  File name
 -----------------------------------------------------------------
-1.
+1.GPL-2.0	25-Sep-2019 TBD		buildtools/pmdinfogen/pmdinfogen.*
 
 -----------------------------------------------------------------