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 <a.fatoum@xxxxxxxxxxxxxx> --- 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 22375360885b..e2c36949347e 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 ba5ea19eb202..0b7c1563b534 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 4d124807bd73..0f7d7422e9b2 100644 --- a/commands/clk.c +++ b/commands/clk.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <getopt.h> diff --git a/commands/fbtest.c b/commands/fbtest.c index 30d96f6af41f..be1540d3d170 100644 --- a/commands/fbtest.c +++ b/commands/fbtest.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <errno.h> diff --git a/commands/hwclock.c b/commands/hwclock.c index 7a5600c456c9..abb0500e6a5d 100644 --- a/commands/hwclock.c +++ b/commands/hwclock.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <getopt.h> diff --git a/commands/hwmon.c b/commands/hwmon.c index ace4503c0b4d..04c3e728c636 100644 --- a/commands/hwmon.c +++ b/commands/hwmon.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <getopt.h> diff --git a/commands/insmod.c b/commands/insmod.c index 735dde022253..8f962b62d30d 100644 --- a/commands/insmod.c +++ b/commands/insmod.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <module.h> diff --git a/commands/internal.h b/commands/internal.h index 21d1408c911f..63c10af28e76 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 4f6a7ef190ea..4922cf1bebe9 100644 --- a/commands/keystore.c +++ b/commands/keystore.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <getopt.h> diff --git a/commands/lsmod.c b/commands/lsmod.c index 711c1c66dc3d..3d7ce40430bd 100644 --- a/commands/lsmod.c +++ b/commands/lsmod.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <complete.h> diff --git a/commands/magicvar.c b/commands/magicvar.c index 8740784ed2c2..01acc741ac5d 100644 --- a/commands/magicvar.c +++ b/commands/magicvar.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <getopt.h> diff --git a/commands/memtester/Makefile b/commands/memtester/Makefile index 17a2429276bb..b410813af7c8 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 c696e7b8817b..cbbb9d615145 100644 --- a/commands/mmc.c +++ b/commands/mmc.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <command.h> #include <mci.h> #include <stdio.h> diff --git a/commands/readf.c b/commands/readf.c index 8dd5a2b55a79..d9d1b5124349 100644 --- a/commands/readf.c +++ b/commands/readf.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <fs.h> diff --git a/commands/rmdir.c b/commands/rmdir.c index e1cd5dc54852..9b2938a5563c 100644 --- a/commands/rmdir.c +++ b/commands/rmdir.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <fs.h> diff --git a/commands/splash.c b/commands/splash.c index f1cc8c83bd97..2eb7c5dc39e5 100644 --- a/commands/splash.c +++ b/commands/splash.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <errno.h> diff --git a/commands/time.c b/commands/time.c index 2d9fb75e7a8c..5b8933ea6553 100644 --- a/commands/time.c +++ b/commands/time.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <clock.h> diff --git a/commands/ubi.c b/commands/ubi.c index f866f00160b0..6abd054af393 100644 --- a/commands/ubi.c +++ b/commands/ubi.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <fs.h> diff --git a/commands/uimage.c b/commands/uimage.c index fb4df780bdd0..588519e3f3a7 100644 --- a/commands/uimage.c +++ b/commands/uimage.c @@ -1,3 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only + #include <common.h> #include <command.h> #include <image.h> -- 2.30.2 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox