[openwrt/openwrt] firmware-utils: add GPL 2.0 SPDX to files with no license info
LEDE Commits
lede-commits at lists.infradead.org
Fri Aug 6 01:19:54 PDT 2021
rmilecki pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/2dc1e4b488fb7d35960c50d574439e6912fffebe
commit 2dc1e4b488fb7d35960c50d574439e6912fffebe
Author: Rafał Miłecki <rafal at milecki.pl>
AuthorDate: Wed Aug 4 15:58:47 2021 +0200
firmware-utils: add GPL 2.0 SPDX to files with no license info
These files fall under the project license: GPL-2.0-only.
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
tools/firmware-utils/src/bcm_tag.h | 1 +
tools/firmware-utils/src/bcmalgo.c | 1 +
tools/firmware-utils/src/bcmalgo.h | 1 +
tools/firmware-utils/src/dgfirmware.c | 1 +
tools/firmware-utils/src/hcsmakeimage.c | 1 +
tools/firmware-utils/src/mkdapimg.c | 1 +
tools/firmware-utils/src/mksercommfw.c | 1 +
tools/firmware-utils/src/mktitanimg.c | 1 +
tools/firmware-utils/src/mktitanimg.h | 1 +
tools/firmware-utils/src/srec2bin.c | 1 +
tools/firmware-utils/src/trx2edips.c | 1 +
tools/firmware-utils/src/utils.h | 1 +
tools/firmware-utils/src/wrt400n.c | 1 +
13 files changed, 13 insertions(+)
diff --git a/tools/firmware-utils/src/bcm_tag.h b/tools/firmware-utils/src/bcm_tag.h
index 2730edc9ad..a0d560884f 100644
--- a/tools/firmware-utils/src/bcm_tag.h
+++ b/tools/firmware-utils/src/bcm_tag.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#ifndef __BCM63XX_TAG_H
#define __BCM63XX_TAG_H
diff --git a/tools/firmware-utils/src/bcmalgo.c b/tools/firmware-utils/src/bcmalgo.c
index c0865a183b..fd6c1c116e 100644
--- a/tools/firmware-utils/src/bcmalgo.c
+++ b/tools/firmware-utils/src/bcmalgo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
diff --git a/tools/firmware-utils/src/bcmalgo.h b/tools/firmware-utils/src/bcmalgo.h
index 46647cf6d3..9aec7d1931 100644
--- a/tools/firmware-utils/src/bcmalgo.h
+++ b/tools/firmware-utils/src/bcmalgo.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#ifndef bcmutils_H
#define bcmutils_H
diff --git a/tools/firmware-utils/src/dgfirmware.c b/tools/firmware-utils/src/dgfirmware.c
index 3ec4712ec9..c5549c82be 100644
--- a/tools/firmware-utils/src/dgfirmware.c
+++ b/tools/firmware-utils/src/dgfirmware.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/tools/firmware-utils/src/hcsmakeimage.c b/tools/firmware-utils/src/hcsmakeimage.c
index 2888810cc7..ce954cfcc9 100644
--- a/tools/firmware-utils/src/hcsmakeimage.c
+++ b/tools/firmware-utils/src/hcsmakeimage.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdlib.h>
#include <sys/types.h>
#include <stdio.h>
diff --git a/tools/firmware-utils/src/mkdapimg.c b/tools/firmware-utils/src/mkdapimg.c
index 0031d83dd0..e8b12599d8 100644
--- a/tools/firmware-utils/src/mkdapimg.c
+++ b/tools/firmware-utils/src/mkdapimg.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/tools/firmware-utils/src/mksercommfw.c b/tools/firmware-utils/src/mksercommfw.c
index f6f1d93f37..5fa323f2d5 100644
--- a/tools/firmware-utils/src/mksercommfw.c
+++ b/tools/firmware-utils/src/mksercommfw.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
diff --git a/tools/firmware-utils/src/mktitanimg.c b/tools/firmware-utils/src/mktitanimg.c
index acc21bd64d..654a6bd09b 100644
--- a/tools/firmware-utils/src/mktitanimg.c
+++ b/tools/firmware-utils/src/mktitanimg.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/tools/firmware-utils/src/mktitanimg.h b/tools/firmware-utils/src/mktitanimg.h
index 9ff30f6088..27b37b3fda 100644
--- a/tools/firmware-utils/src/mktitanimg.h
+++ b/tools/firmware-utils/src/mktitanimg.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#ifndef __MKTITANIMG_H
#define __MKTITANIMG_H
diff --git a/tools/firmware-utils/src/srec2bin.c b/tools/firmware-utils/src/srec2bin.c
index 95a8195d1a..ad4222d693 100644
--- a/tools/firmware-utils/src/srec2bin.c
+++ b/tools/firmware-utils/src/srec2bin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdio.h>
#include <ctype.h>
#include <string.h>
diff --git a/tools/firmware-utils/src/trx2edips.c b/tools/firmware-utils/src/trx2edips.c
index 14c4eb70ba..e8ac14d830 100644
--- a/tools/firmware-utils/src/trx2edips.c
+++ b/tools/firmware-utils/src/trx2edips.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
diff --git a/tools/firmware-utils/src/utils.h b/tools/firmware-utils/src/utils.h
index 11ec740069..b051f5e6c7 100644
--- a/tools/firmware-utils/src/utils.h
+++ b/tools/firmware-utils/src/utils.h
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
#include <stdint.h>
#include <string.h>
diff --git a/tools/firmware-utils/src/wrt400n.c b/tools/firmware-utils/src/wrt400n.c
index 1cf1debc89..a6c1f8038b 100644
--- a/tools/firmware-utils/src/wrt400n.c
+++ b/tools/firmware-utils/src/wrt400n.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
/*
* WRT400n - Firmware Generation Creator
*
More information about the lede-commits
mailing list