Skip to contentSkip to conversation

pmdinfogen: add SPDX license tag

PATCH In review Hemant Agrawal 2 participants 2 messages Sep 27, 2019 – Feb 22, 2020

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 pmdinfogen: add SPDX license tag

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.

---
 buildtools/pmdinfogen/pmdinfogen.c | 7 ++-----
 buildtools/pmdinfogen/pmdinfogen.h | 8 ++------
 license/exceptions.txt             | 4 ++--
 3 files changed, 6 insertions(+), 13 deletions(-)
buildtools/pmdinfogen/pmdinfogen.c +2 -5
index dc0b6d5ff..a68d1ea99 100644
@@ -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 <[email protected]>
  * 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>
buildtools/pmdinfogen/pmdinfogen.h +2 -6
index c8a9e2136..e6ba54535 100644
@@ -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 <[email protected]>
  * 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>
license/exceptions.txt +2 -2
index f1cfa462f..1acd5733f 100644
@@ -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.*
 
 -----------------------------------------------------------------
 
Signature · 1 line
2.17.1
#1 lore raw

27/09/2019 10:39, Hemant Agrawal:

Quoted 15 lines

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.

---

license/exceptions.txt Note that following licenses are not exceptions:- · line 10

Quoted 5 lines
license/exceptions.txt +1 -1
@@ -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.

license/exceptions.txt Note that following licenses are not exceptions:- · line 17

Quoted 7 lines
license/exceptions.txt +1 -1
 -----------------------------------------------------------------
 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.