[v2] pmdinfogen: add SPDX license tag

Message ID 20190927083956.30311-1-hemant.agrawal@nxp.com
State New
Headers show
Series
  • [v2] pmdinfogen: add SPDX license tag
Related show

Commit Message

Hemant Agrawal Sept. 27, 2019, 8:39 a.m.
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(-)

-- 
2.17.1

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.*
 
 -----------------------------------------------------------------