From 8c217afbee47c08b3d5ae6d9808adace15f64774 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Mon, 3 Jan 2022 13:05:29 +0100 Subject: commands: set SPDX-License-Identifier for files without license statement In absence of a dual licensing statement, this is GPL-2.0-only as the barebox project as a whole. Add a SPDX-License-Identifier to make this clear. Signed-off-by: Ahmad Fatoum Link: https://lore.barebox.org/20220103120539.1730644-2-a.fatoum@pengutronix.de Signed-off-by: Sascha Hauer --- commands/Kconfig | 2 ++ commands/Makefile | 2 ++ commands/clk.c | 2 ++ commands/fbtest.c | 2 ++ commands/hwclock.c | 2 ++ commands/hwmon.c | 2 ++ commands/insmod.c | 2 ++ commands/internal.h | 2 ++ commands/keystore.c | 2 ++ commands/lsmod.c | 2 ++ commands/magicvar.c | 2 ++ commands/memtester/Makefile | 2 ++ commands/mmc.c | 2 ++ commands/readf.c | 2 ++ commands/rmdir.c | 2 ++ commands/splash.c | 2 ++ commands/time.c | 2 ++ commands/ubi.c | 2 ++ commands/uimage.c | 2 ++ 19 files changed, 38 insertions(+) diff --git a/commands/Kconfig b/commands/Kconfig index 2237536088..e2c3694934 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + config REGINFO bool diff --git a/commands/Makefile b/commands/Makefile index ba5ea19eb2..0b7c1563b5 100644 --- a/commands/Makefile +++ b/commands/Makefile @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-$(CONFIG_STDDEV) += stddev.o obj-$(CONFIG_CMD_DIGEST) += digest.o obj-$(CONFIG_COMPILE_HASH) += hashsum.o diff --git a/commands/clk.c b/commands/clk.c index 4d124807bd..0f7d7422e9 100644 --- a/commands/clk.c +++ b/commands/clk.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/fbtest.c b/commands/fbtest.c index 30d96f6af4..be1540d3d1 100644 --- a/commands/fbtest.c +++ b/commands/fbtest.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/hwclock.c b/commands/hwclock.c index 7a5600c456..abb0500e6a 100644 --- a/commands/hwclock.c +++ b/commands/hwclock.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/hwmon.c b/commands/hwmon.c index ace4503c0b..04c3e728c6 100644 --- a/commands/hwmon.c +++ b/commands/hwmon.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/insmod.c b/commands/insmod.c index 735dde0222..8f962b62d3 100644 --- a/commands/insmod.c +++ b/commands/insmod.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/internal.h b/commands/internal.h index 21d1408c91..63c10af28e 100644 --- a/commands/internal.h +++ b/commands/internal.h @@ -1,2 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + int __do_digest(struct digest *d, unsigned char *sig, int argc, char *argv[]); diff --git a/commands/keystore.c b/commands/keystore.c index 4f6a7ef190..4922cf1beb 100644 --- a/commands/keystore.c +++ b/commands/keystore.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/lsmod.c b/commands/lsmod.c index 711c1c66dc..3d7ce40430 100644 --- a/commands/lsmod.c +++ b/commands/lsmod.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/magicvar.c b/commands/magicvar.c index 8740784ed2..01acc741ac 100644 --- a/commands/magicvar.c +++ b/commands/magicvar.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/memtester/Makefile b/commands/memtester/Makefile index 17a2429276..b410813af7 100644 --- a/commands/memtester/Makefile +++ b/commands/memtester/Makefile @@ -1 +1,3 @@ +# SPDX-License-Identifier: GPL-2.0-only + obj-y += tests.o memtester.o diff --git a/commands/mmc.c b/commands/mmc.c index c696e7b881..cbbb9d6151 100644 --- a/commands/mmc.c +++ b/commands/mmc.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/readf.c b/commands/readf.c index 8dd5a2b55a..d9d1b51243 100644 --- a/commands/readf.c +++ b/commands/readf.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/rmdir.c b/commands/rmdir.c index e1cd5dc548..9b2938a556 100644 --- a/commands/rmdir.c +++ b/commands/rmdir.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/splash.c b/commands/splash.c index f1cc8c83bd..2eb7c5dc39 100644 --- a/commands/splash.c +++ b/commands/splash.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/time.c b/commands/time.c index 25ba2da15e..2c55f4c186 100644 --- a/commands/time.c +++ b/commands/time.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/ubi.c b/commands/ubi.c index f866f00160..6abd054af3 100644 --- a/commands/ubi.c +++ b/commands/ubi.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include diff --git a/commands/uimage.c b/commands/uimage.c index fb4df780bd..588519e3f3 100644 --- a/commands/uimage.c +++ b/commands/uimage.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include #include #include -- cgit v1.2.3