diff mbox series

Add copyright and license info to configs

Message ID 20210405130004.133705-1-sbabic@denx.de
State Changes Requested
Headers show
Series Add copyright and license info to configs | expand

Commit Message

Stefano Babic April 5, 2021, 1 p.m. UTC
configs are mostly autogenerated, but add Copyright and license info
from the first submitter in git.

Signed-off-by: Stefano Babic <sbabic@denx.de>
---
 configs/all_handlers_defconfig        | 2 ++
 configs/bootloader_ebg_defconfig      | 2 ++
 configs/bootloader_grub_defconfig     | 2 ++
 configs/bootloader_uboot_defconfig    | 2 ++
 configs/cms1_defconfig                | 2 ++
 configs/cms_defconfig                 | 2 ++
 configs/hawkbit_defconfig             | 2 ++
 configs/mbedtls_defconfig             | 2 ++
 configs/no_ssl_defconfig              | 2 ++
 configs/nodwl_defconfig               | 2 ++
 configs/raspi_defconfig               | 2 ++
 configs/sha256_defconfig              | 2 ++
 configs/suricatta_http_defconfig      | 2 ++
 configs/swuforwarder_defconfig        | 2 ++
 configs/test_defconfig                | 2 ++
 configs/with_ebg_defconfig            | 2 ++
 configs/with_lua_handlers_defconfig   | 2 ++
 configs/with_lua_nohandlers_defconfig | 2 ++
 configs/with_rdiff_defconfig          | 2 ++
 configs/with_systemd_defconfig        | 2 ++
 configs/with_ucfw_defconfig           | 2 ++
 configs/without_libconfig_defconfig   | 2 ++
 configs/without_lua_defconfig         | 2 ++
 23 files changed, 46 insertions(+)

Comments

Stefan Herbrechtsmeier April 5, 2021, 1:44 p.m. UTC | #1
Hi Stefano,

do you think the GPL is a good choose for this files? The GPL make its 
reuse complicated and as you write this are mostly autogenerated and 
thereby the copyright is questinal.

Regards
   Stefan

Am 05.04.21 um 15:00 schrieb Stefano Babic:
> configs are mostly autogenerated, but add Copyright and license info
> from the first submitter in git.
> 
> Signed-off-by: Stefano Babic <sbabic@denx.de>
> ---
>   configs/all_handlers_defconfig        | 2 ++
>   configs/bootloader_ebg_defconfig      | 2 ++
>   configs/bootloader_grub_defconfig     | 2 ++
>   configs/bootloader_uboot_defconfig    | 2 ++
>   configs/cms1_defconfig                | 2 ++
>   configs/cms_defconfig                 | 2 ++
>   configs/hawkbit_defconfig             | 2 ++
>   configs/mbedtls_defconfig             | 2 ++
>   configs/no_ssl_defconfig              | 2 ++
>   configs/nodwl_defconfig               | 2 ++
>   configs/raspi_defconfig               | 2 ++
>   configs/sha256_defconfig              | 2 ++
>   configs/suricatta_http_defconfig      | 2 ++
>   configs/swuforwarder_defconfig        | 2 ++
>   configs/test_defconfig                | 2 ++
>   configs/with_ebg_defconfig            | 2 ++
>   configs/with_lua_handlers_defconfig   | 2 ++
>   configs/with_lua_nohandlers_defconfig | 2 ++
>   configs/with_rdiff_defconfig          | 2 ++
>   configs/with_systemd_defconfig        | 2 ++
>   configs/with_ucfw_defconfig           | 2 ++
>   configs/without_libconfig_defconfig   | 2 ++
>   configs/without_lua_defconfig         | 2 ++
>   23 files changed, 46 insertions(+)
> 
> diff --git a/configs/all_handlers_defconfig b/configs/all_handlers_defconfig
> index 5599ebf..29046dd 100644
> --- a/configs/all_handlers_defconfig
> +++ b/configs/all_handlers_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_LUAPKG="lua5.2"
>   CONFIG_EXTRA_CFLAGS="-g"
> diff --git a/configs/bootloader_ebg_defconfig b/configs/bootloader_ebg_defconfig
> index 691b3cf..415ee89 100644
> --- a/configs/bootloader_ebg_defconfig
> +++ b/configs/bootloader_ebg_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Christian Storm <christian.storm@siemens.com>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_SYSTEMD=y
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
> diff --git a/configs/bootloader_grub_defconfig b/configs/bootloader_grub_defconfig
> index cb88e68..c87d952 100644
> --- a/configs/bootloader_grub_defconfig
> +++ b/configs/bootloader_grub_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_SYSTEMD=y
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
> diff --git a/configs/bootloader_uboot_defconfig b/configs/bootloader_uboot_defconfig
> index 848db59..d026d65 100644
> --- a/configs/bootloader_uboot_defconfig
> +++ b/configs/bootloader_uboot_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_SYSTEMD=y
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
> diff --git a/configs/cms1_defconfig b/configs/cms1_defconfig
> index 73e1000..a9d41c7 100644
> --- a/configs/cms1_defconfig
> +++ b/configs/cms1_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/cms_defconfig b/configs/cms_defconfig
> index 23b0b53..2af0eee 100644
> --- a/configs/cms_defconfig
> +++ b/configs/cms_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/hawkbit_defconfig b/configs/hawkbit_defconfig
> index f90485b..6712770 100644
> --- a/configs/hawkbit_defconfig
> +++ b/configs/hawkbit_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/mbedtls_defconfig b/configs/mbedtls_defconfig
> index 9837a83..e771004 100644
> --- a/configs/mbedtls_defconfig
> +++ b/configs/mbedtls_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Laszlo Ashin <laszlo@ashin.hu>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/no_ssl_defconfig b/configs/no_ssl_defconfig
> index 9eaab52..b84fb6e 100644
> --- a/configs/no_ssl_defconfig
> +++ b/configs/no_ssl_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/nodwl_defconfig b/configs/nodwl_defconfig
> index eaac56d..1533053 100644
> --- a/configs/nodwl_defconfig
> +++ b/configs/nodwl_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/raspi_defconfig b/configs/raspi_defconfig
> index 55ebf83..4c17cc6 100644
> --- a/configs/raspi_defconfig
> +++ b/configs/raspi_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_LUAPKG="lua5.2"
>   CONFIG_BOOTLOADER_NONE=y
> diff --git a/configs/sha256_defconfig b/configs/sha256_defconfig
> index 4ad346d..45716ab 100644
> --- a/configs/sha256_defconfig
> +++ b/configs/sha256_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/suricatta_http_defconfig b/configs/suricatta_http_defconfig
> index 2026074..38c7e4b 100644
> --- a/configs/suricatta_http_defconfig
> +++ b/configs/suricatta_http_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_SYSTEMD=y
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/swuforwarder_defconfig b/configs/swuforwarder_defconfig
> index f6dc631..4a28d29 100644
> --- a/configs/swuforwarder_defconfig
> +++ b/configs/swuforwarder_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/test_defconfig b/configs/test_defconfig
> index 473ffa7..02f6b97 100644
> --- a/configs/test_defconfig
> +++ b/configs/test_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/with_ebg_defconfig b/configs/with_ebg_defconfig
> index 2019f5e..aa3850f 100644
> --- a/configs/with_ebg_defconfig
> +++ b/configs/with_ebg_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/with_lua_handlers_defconfig b/configs/with_lua_handlers_defconfig
> index 7064787..e75890b 100644
> --- a/configs/with_lua_handlers_defconfig
> +++ b/configs/with_lua_handlers_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_LUAPKG="lua5.2"
>   CONFIG_EXTRA_CFLAGS="-g"
> diff --git a/configs/with_lua_nohandlers_defconfig b/configs/with_lua_nohandlers_defconfig
> index ceef10f..4e48e30 100644
> --- a/configs/with_lua_nohandlers_defconfig
> +++ b/configs/with_lua_nohandlers_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_LUAPKG="lua5.2"
>   CONFIG_EXTRA_CFLAGS="-g"
> diff --git a/configs/with_rdiff_defconfig b/configs/with_rdiff_defconfig
> index 695b5dd..55ed44a 100644
> --- a/configs/with_rdiff_defconfig
> +++ b/configs/with_rdiff_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/with_systemd_defconfig b/configs/with_systemd_defconfig
> index ae690c6..da6c68a 100644
> --- a/configs/with_systemd_defconfig
> +++ b/configs/with_systemd_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Christian Storm <christian.storm@siemens.com>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_SYSTEMD=y
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
> diff --git a/configs/with_ucfw_defconfig b/configs/with_ucfw_defconfig
> index 6ab9ef5..6fb2ed9 100644
> --- a/configs/with_ucfw_defconfig
> +++ b/configs/with_ucfw_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Pierre-Jean Texier <pjtexier@koncepto.io>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_MTD is not set
>   CONFIG_LUAPKG="lua5.2"
> diff --git a/configs/without_libconfig_defconfig b/configs/without_libconfig_defconfig
> index e750a38..5f11dd4 100644
> --- a/configs/without_libconfig_defconfig
> +++ b/configs/without_libconfig_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   CONFIG_LUAPKG="lua5.2"
>   CONFIG_EXTRA_CFLAGS="-g"
> diff --git a/configs/without_lua_defconfig b/configs/without_lua_defconfig
> index ed5ca7b..8096432 100644
> --- a/configs/without_lua_defconfig
> +++ b/configs/without_lua_defconfig
> @@ -1,3 +1,5 @@
> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
> +# SPDX-License-Identifier: GPL-2.0-only
>   CONFIG_HW_COMPATIBILITY=y
>   # CONFIG_LUA is not set
>   CONFIG_EXTRA_CFLAGS="-g"
>
Stefano Babic April 5, 2021, 2:26 p.m. UTC | #2
Hi stefan,

On 05.04.21 15:44, Stefan Herbrechtsmeier wrote:
> Hi Stefano,
> 
> do you think the GPL is a good choose for this files? The GPL make its 
> reuse

reuse with REUSE looks like a joke ;-)

>

> complicated and as you write this are mostly autogenerated and 
> thereby the copyright is questinal.

Frankly, I do not know. I was currently happy without any license and 
copyright info for these files, also because they have not a *real* 
author. This is mostly to be compliant with REUSE as suggested by Mark, 
but I would like prefer to have a list of files that have no copyright 
(because it makes no sense) and they are skipped by the lint tool. Mark, 
is this possible ?

Best regards,
Stefano

> 
> Regards
>    Stefan
> 
> Am 05.04.21 um 15:00 schrieb Stefano Babic:
>> configs are mostly autogenerated, but add Copyright and license info
>> from the first submitter in git.
>>
>> Signed-off-by: Stefano Babic <sbabic@denx.de>
>> ---
>>   configs/all_handlers_defconfig        | 2 ++
>>   configs/bootloader_ebg_defconfig      | 2 ++
>>   configs/bootloader_grub_defconfig     | 2 ++
>>   configs/bootloader_uboot_defconfig    | 2 ++
>>   configs/cms1_defconfig                | 2 ++
>>   configs/cms_defconfig                 | 2 ++
>>   configs/hawkbit_defconfig             | 2 ++
>>   configs/mbedtls_defconfig             | 2 ++
>>   configs/no_ssl_defconfig              | 2 ++
>>   configs/nodwl_defconfig               | 2 ++
>>   configs/raspi_defconfig               | 2 ++
>>   configs/sha256_defconfig              | 2 ++
>>   configs/suricatta_http_defconfig      | 2 ++
>>   configs/swuforwarder_defconfig        | 2 ++
>>   configs/test_defconfig                | 2 ++
>>   configs/with_ebg_defconfig            | 2 ++
>>   configs/with_lua_handlers_defconfig   | 2 ++
>>   configs/with_lua_nohandlers_defconfig | 2 ++
>>   configs/with_rdiff_defconfig          | 2 ++
>>   configs/with_systemd_defconfig        | 2 ++
>>   configs/with_ucfw_defconfig           | 2 ++
>>   configs/without_libconfig_defconfig   | 2 ++
>>   configs/without_lua_defconfig         | 2 ++
>>   23 files changed, 46 insertions(+)
>>
>> diff --git a/configs/all_handlers_defconfig 
>> b/configs/all_handlers_defconfig
>> index 5599ebf..29046dd 100644
>> --- a/configs/all_handlers_defconfig
>> +++ b/configs/all_handlers_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_LUAPKG="lua5.2"
>>   CONFIG_EXTRA_CFLAGS="-g"
>> diff --git a/configs/bootloader_ebg_defconfig 
>> b/configs/bootloader_ebg_defconfig
>> index 691b3cf..415ee89 100644
>> --- a/configs/bootloader_ebg_defconfig
>> +++ b/configs/bootloader_ebg_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Christian Storm 
>> <christian.storm@siemens.com>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_SYSTEMD=y
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
>> diff --git a/configs/bootloader_grub_defconfig 
>> b/configs/bootloader_grub_defconfig
>> index cb88e68..c87d952 100644
>> --- a/configs/bootloader_grub_defconfig
>> +++ b/configs/bootloader_grub_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_SYSTEMD=y
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
>> diff --git a/configs/bootloader_uboot_defconfig 
>> b/configs/bootloader_uboot_defconfig
>> index 848db59..d026d65 100644
>> --- a/configs/bootloader_uboot_defconfig
>> +++ b/configs/bootloader_uboot_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_SYSTEMD=y
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
>> diff --git a/configs/cms1_defconfig b/configs/cms1_defconfig
>> index 73e1000..a9d41c7 100644
>> --- a/configs/cms1_defconfig
>> +++ b/configs/cms1_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/cms_defconfig b/configs/cms_defconfig
>> index 23b0b53..2af0eee 100644
>> --- a/configs/cms_defconfig
>> +++ b/configs/cms_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/hawkbit_defconfig b/configs/hawkbit_defconfig
>> index f90485b..6712770 100644
>> --- a/configs/hawkbit_defconfig
>> +++ b/configs/hawkbit_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/mbedtls_defconfig b/configs/mbedtls_defconfig
>> index 9837a83..e771004 100644
>> --- a/configs/mbedtls_defconfig
>> +++ b/configs/mbedtls_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Laszlo Ashin <laszlo@ashin.hu>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/no_ssl_defconfig b/configs/no_ssl_defconfig
>> index 9eaab52..b84fb6e 100644
>> --- a/configs/no_ssl_defconfig
>> +++ b/configs/no_ssl_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/nodwl_defconfig b/configs/nodwl_defconfig
>> index eaac56d..1533053 100644
>> --- a/configs/nodwl_defconfig
>> +++ b/configs/nodwl_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/raspi_defconfig b/configs/raspi_defconfig
>> index 55ebf83..4c17cc6 100644
>> --- a/configs/raspi_defconfig
>> +++ b/configs/raspi_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_LUAPKG="lua5.2"
>>   CONFIG_BOOTLOADER_NONE=y
>> diff --git a/configs/sha256_defconfig b/configs/sha256_defconfig
>> index 4ad346d..45716ab 100644
>> --- a/configs/sha256_defconfig
>> +++ b/configs/sha256_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/suricatta_http_defconfig 
>> b/configs/suricatta_http_defconfig
>> index 2026074..38c7e4b 100644
>> --- a/configs/suricatta_http_defconfig
>> +++ b/configs/suricatta_http_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_SYSTEMD=y
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/swuforwarder_defconfig 
>> b/configs/swuforwarder_defconfig
>> index f6dc631..4a28d29 100644
>> --- a/configs/swuforwarder_defconfig
>> +++ b/configs/swuforwarder_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/test_defconfig b/configs/test_defconfig
>> index 473ffa7..02f6b97 100644
>> --- a/configs/test_defconfig
>> +++ b/configs/test_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/with_ebg_defconfig b/configs/with_ebg_defconfig
>> index 2019f5e..aa3850f 100644
>> --- a/configs/with_ebg_defconfig
>> +++ b/configs/with_ebg_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/with_lua_handlers_defconfig 
>> b/configs/with_lua_handlers_defconfig
>> index 7064787..e75890b 100644
>> --- a/configs/with_lua_handlers_defconfig
>> +++ b/configs/with_lua_handlers_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_LUAPKG="lua5.2"
>>   CONFIG_EXTRA_CFLAGS="-g"
>> diff --git a/configs/with_lua_nohandlers_defconfig 
>> b/configs/with_lua_nohandlers_defconfig
>> index ceef10f..4e48e30 100644
>> --- a/configs/with_lua_nohandlers_defconfig
>> +++ b/configs/with_lua_nohandlers_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_LUAPKG="lua5.2"
>>   CONFIG_EXTRA_CFLAGS="-g"
>> diff --git a/configs/with_rdiff_defconfig b/configs/with_rdiff_defconfig
>> index 695b5dd..55ed44a 100644
>> --- a/configs/with_rdiff_defconfig
>> +++ b/configs/with_rdiff_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/with_systemd_defconfig 
>> b/configs/with_systemd_defconfig
>> index ae690c6..da6c68a 100644
>> --- a/configs/with_systemd_defconfig
>> +++ b/configs/with_systemd_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Christian Storm 
>> <christian.storm@siemens.com>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_SYSTEMD=y
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>> diff --git a/configs/with_ucfw_defconfig b/configs/with_ucfw_defconfig
>> index 6ab9ef5..6fb2ed9 100644
>> --- a/configs/with_ucfw_defconfig
>> +++ b/configs/with_ucfw_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Pierre-Jean Texier <pjtexier@koncepto.io>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_MTD is not set
>>   CONFIG_LUAPKG="lua5.2"
>> diff --git a/configs/without_libconfig_defconfig 
>> b/configs/without_libconfig_defconfig
>> index e750a38..5f11dd4 100644
>> --- a/configs/without_libconfig_defconfig
>> +++ b/configs/without_libconfig_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   CONFIG_LUAPKG="lua5.2"
>>   CONFIG_EXTRA_CFLAGS="-g"
>> diff --git a/configs/without_lua_defconfig 
>> b/configs/without_lua_defconfig
>> index ed5ca7b..8096432 100644
>> --- a/configs/without_lua_defconfig
>> +++ b/configs/without_lua_defconfig
>> @@ -1,3 +1,5 @@
>> +# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
>> +# SPDX-License-Identifier: GPL-2.0-only
>>   CONFIG_HW_COMPATIBILITY=y
>>   # CONFIG_LUA is not set
>>   CONFIG_EXTRA_CFLAGS="-g"
>>
>
Stefan Herbrechtsmeier April 5, 2021, 3:25 p.m. UTC | #3
Am 05.04.21 um 16:26 schrieb Stefano Babic:
> Hi stefan,
> 
> On 05.04.21 15:44, Stefan Herbrechtsmeier wrote:
>> Hi Stefano,
>>
>> do you think the GPL is a good choose for this files? The GPL make its 
>> reuse
> 
> reuse with REUSE looks like a joke ;-)
> 
>>
> 
>> complicated and as you write this are mostly autogenerated and thereby 
>> the copyright is questinal.
> 
> Frankly, I do not know. I was currently happy without any license and 
> copyright info for these files, also because they have not a *real* 
> author. This is mostly to be compliant with REUSE as suggested by Mark, 
> but I would like prefer to have a list of files that have no copyright 
> (because it makes no sense) and they are skipped by the lint tool. Mark, 
> is this possible ?

Couldn't we use CC0 for this files?

Maybe REUSE have a recommendation for generated files.

Regards
   Stefan
Stefano Babic April 5, 2021, 3:49 p.m. UTC | #4
On 05.04.21 17:25, Stefan Herbrechtsmeier wrote:
> Am 05.04.21 um 16:26 schrieb Stefano Babic:
>> Hi stefan,
>>
>> On 05.04.21 15:44, Stefan Herbrechtsmeier wrote:
>>> Hi Stefano,
>>>
>>> do you think the GPL is a good choose for this files? The GPL make 
>>> its reuse
>>
>> reuse with REUSE looks like a joke ;-)
>>
>>>
>>
>>> complicated and as you write this are mostly autogenerated and 
>>> thereby the copyright is questinal.
>>
>> Frankly, I do not know. I was currently happy without any license and 
>> copyright info for these files, also because they have not a *real* 
>> author. This is mostly to be compliant with REUSE as suggested by 
>> Mark, but I would like prefer to have a list of files that have no 
>> copyright (because it makes no sense) and they are skipped by the lint 
>> tool. Mark, is this possible ?
> 
> Couldn't we use CC0 for this files?

Sure - or maybe a MIT for them without adding a new license ?

> 
> Maybe REUSE have a recommendation for generated files.

@Mark ?

Regards,
Stefano
Mark Jonas April 5, 2021, 5:48 p.m. UTC | #5
HI Stefano and Stefan,

On Mon, Apr 5, 2021 at 5:49 PM Stefano Babic <sbabic@denx.de> wrote:
>
> On 05.04.21 17:25, Stefan Herbrechtsmeier wrote:
> > Am 05.04.21 um 16:26 schrieb Stefano Babic:
> >> Hi stefan,
> >>
> >> On 05.04.21 15:44, Stefan Herbrechtsmeier wrote:
> >>> Hi Stefano,
> >>>
> >>> do you think the GPL is a good choose for this files? The GPL make
> >>> its reuse

On the one hand GPL-2.0-only is an excellent choice because the
SWUpdate project so far stated that everything is GPL-2.0 licensed
except where it is otherwise noted. Thus, I think we have to assume
that the contributor's intention was to put them under GPL-2.0.

> >> reuse with REUSE looks like a joke ;-)
> >>
> >>>
> >>
> >>> complicated and as you write this are mostly autogenerated and
> >>> thereby the copyright is questinal.

On the other hand IMHO the threshold of originality is not reached by
these auto-generated files. For things like this I would recommend
using CC0-1.0 or MIT.

> >> Frankly, I do not know. I was currently happy without any license and
> >> copyright info for these files, also because they have not a *real*
> >> author. This is mostly to be compliant with REUSE as suggested by
> >> Mark, but I would like prefer to have a list of files that have no
> >> copyright (because it makes no sense) and they are skipped by the lint
> >> tool. Mark, is this possible ?
> >
> > Couldn't we use CC0 for this files?
>
> Sure - or maybe a MIT for them without adding a new license ?
>
> >
> > Maybe REUSE have a recommendation for generated files.
>
> @Mark ?

CC0 is also what REUSE recommends for files one would consider "too
unimportant for a license".

https://reuse.software/faq/#exclude-file

"Skipping" of files during the check is not possible. As described in
the link above this would contradict the idea of REUSE.

Whether CC0 or MIT are better for the purpose here is hard to write.
If you would like to discuss this I'd prefer discussing it in a phone
call.

I have the feeling that our discussion here gives nice visibility that
having an explicit license statement for all files is very important.
In hindsight simple things can become complicated if there is no
explicit licensing.

Cheers,
Mark
Stefano Babic April 6, 2021, 7:58 a.m. UTC | #6
On 05.04.21 19:48, Mark Jonas wrote:
> HI Stefano and Stefan,
> 
> On Mon, Apr 5, 2021 at 5:49 PM Stefano Babic <sbabic@denx.de> wrote:
>>
>> On 05.04.21 17:25, Stefan Herbrechtsmeier wrote:
>>> Am 05.04.21 um 16:26 schrieb Stefano Babic:
>>>> Hi stefan,
>>>>
>>>> On 05.04.21 15:44, Stefan Herbrechtsmeier wrote:
>>>>> Hi Stefano,
>>>>>
>>>>> do you think the GPL is a good choose for this files? The GPL make
>>>>> its reuse
> 
> On the one hand GPL-2.0-only is an excellent choice because the
> SWUpdate project so far stated that everything is GPL-2.0 licensed
> except where it is otherwise noted. Thus, I think we have to assume
> that the contributor's intention was to put them under GPL-2.0.
> 
>>>> reuse with REUSE looks like a joke ;-)
>>>>
>>>>>
>>>>
>>>>> complicated and as you write this are mostly autogenerated and
>>>>> thereby the copyright is questinal.
> 
> On the other hand IMHO the threshold of originality is not reached by
> these auto-generated files. For things like this I would recommend
> using CC0-1.0 or MIT.
> 
>>>> Frankly, I do not know. I was currently happy without any license and
>>>> copyright info for these files, also because they have not a *real*
>>>> author. This is mostly to be compliant with REUSE as suggested by
>>>> Mark, but I would like prefer to have a list of files that have no
>>>> copyright (because it makes no sense) and they are skipped by the lint
>>>> tool. Mark, is this possible ?
>>>
>>> Couldn't we use CC0 for this files?
>>
>> Sure - or maybe a MIT for them without adding a new license ?
>>
>>>
>>> Maybe REUSE have a recommendation for generated files.
>>
>> @Mark ?
> 
> CC0 is also what REUSE recommends for files one would consider "too
> unimportant for a license".

Ok, then I set CC0 in V2.

> 
> https://reuse.software/faq/#exclude-file
> 

Got it - I agree we should try to add license to each file, but there 
are some other files that are generated. For example, examples/www/v2 is 
the build of nodejs app. and they are no source files (they should then 
excluded via .reuse/dep5).

> "Skipping" of files during the check is not possible. As described in
> the link above this would contradict the idea of REUSE.
> 
> Whether CC0 or MIT are better for the purpose here is hard to write.
> If you would like to discuss this I'd prefer discussing it in a phone
> call.

There were already two votes for CC0, I set CC0. It is fine for me.

> 
> I have the feeling that our discussion here gives nice visibility that
> having an explicit license statement for all files is very important.

License is very important, and it should be easy for customers / 
companys to know and to add the required licenses when they use SWUpdate.

> In hindsight simple things can become complicated if there is no
> explicit licensing.
> 

Best regards,
Stefano
Mark Jonas April 6, 2021, 3:28 p.m. UTC | #7
Hi Stefano,

On Tue, Apr 6, 2021 at 9:58 AM Stefano Babic <sbabic@denx.de> wrote:

> Got it - I agree we should try to add license to each file, but there
> are some other files that are generated. For example, examples/www/v2 is
> the build of nodejs app. and they are no source files (they should then
> excluded via .reuse/dep5).

I think a directory which only contains generated files is a great
example where the use .reuse/dep5 makes a lot of sense.

Cheers,
Mark
diff mbox series

Patch

diff --git a/configs/all_handlers_defconfig b/configs/all_handlers_defconfig
index 5599ebf..29046dd 100644
--- a/configs/all_handlers_defconfig
+++ b/configs/all_handlers_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_LUAPKG="lua5.2"
 CONFIG_EXTRA_CFLAGS="-g"
diff --git a/configs/bootloader_ebg_defconfig b/configs/bootloader_ebg_defconfig
index 691b3cf..415ee89 100644
--- a/configs/bootloader_ebg_defconfig
+++ b/configs/bootloader_ebg_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Christian Storm <christian.storm@siemens.com>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_SYSTEMD=y
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
diff --git a/configs/bootloader_grub_defconfig b/configs/bootloader_grub_defconfig
index cb88e68..c87d952 100644
--- a/configs/bootloader_grub_defconfig
+++ b/configs/bootloader_grub_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_SYSTEMD=y
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
diff --git a/configs/bootloader_uboot_defconfig b/configs/bootloader_uboot_defconfig
index 848db59..d026d65 100644
--- a/configs/bootloader_uboot_defconfig
+++ b/configs/bootloader_uboot_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_SYSTEMD=y
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_HW_COMPATIBILITY_FILE="tests/etc/hwrevision"
diff --git a/configs/cms1_defconfig b/configs/cms1_defconfig
index 73e1000..a9d41c7 100644
--- a/configs/cms1_defconfig
+++ b/configs/cms1_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/cms_defconfig b/configs/cms_defconfig
index 23b0b53..2af0eee 100644
--- a/configs/cms_defconfig
+++ b/configs/cms_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/hawkbit_defconfig b/configs/hawkbit_defconfig
index f90485b..6712770 100644
--- a/configs/hawkbit_defconfig
+++ b/configs/hawkbit_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/mbedtls_defconfig b/configs/mbedtls_defconfig
index 9837a83..e771004 100644
--- a/configs/mbedtls_defconfig
+++ b/configs/mbedtls_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Laszlo Ashin <laszlo@ashin.hu>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/no_ssl_defconfig b/configs/no_ssl_defconfig
index 9eaab52..b84fb6e 100644
--- a/configs/no_ssl_defconfig
+++ b/configs/no_ssl_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/nodwl_defconfig b/configs/nodwl_defconfig
index eaac56d..1533053 100644
--- a/configs/nodwl_defconfig
+++ b/configs/nodwl_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/raspi_defconfig b/configs/raspi_defconfig
index 55ebf83..4c17cc6 100644
--- a/configs/raspi_defconfig
+++ b/configs/raspi_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_LUAPKG="lua5.2"
 CONFIG_BOOTLOADER_NONE=y
diff --git a/configs/sha256_defconfig b/configs/sha256_defconfig
index 4ad346d..45716ab 100644
--- a/configs/sha256_defconfig
+++ b/configs/sha256_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/suricatta_http_defconfig b/configs/suricatta_http_defconfig
index 2026074..38c7e4b 100644
--- a/configs/suricatta_http_defconfig
+++ b/configs/suricatta_http_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_SYSTEMD=y
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/swuforwarder_defconfig b/configs/swuforwarder_defconfig
index f6dc631..4a28d29 100644
--- a/configs/swuforwarder_defconfig
+++ b/configs/swuforwarder_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/test_defconfig b/configs/test_defconfig
index 473ffa7..02f6b97 100644
--- a/configs/test_defconfig
+++ b/configs/test_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/with_ebg_defconfig b/configs/with_ebg_defconfig
index 2019f5e..aa3850f 100644
--- a/configs/with_ebg_defconfig
+++ b/configs/with_ebg_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/with_lua_handlers_defconfig b/configs/with_lua_handlers_defconfig
index 7064787..e75890b 100644
--- a/configs/with_lua_handlers_defconfig
+++ b/configs/with_lua_handlers_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_LUAPKG="lua5.2"
 CONFIG_EXTRA_CFLAGS="-g"
diff --git a/configs/with_lua_nohandlers_defconfig b/configs/with_lua_nohandlers_defconfig
index ceef10f..4e48e30 100644
--- a/configs/with_lua_nohandlers_defconfig
+++ b/configs/with_lua_nohandlers_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_LUAPKG="lua5.2"
 CONFIG_EXTRA_CFLAGS="-g"
diff --git a/configs/with_rdiff_defconfig b/configs/with_rdiff_defconfig
index 695b5dd..55ed44a 100644
--- a/configs/with_rdiff_defconfig
+++ b/configs/with_rdiff_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/with_systemd_defconfig b/configs/with_systemd_defconfig
index ae690c6..da6c68a 100644
--- a/configs/with_systemd_defconfig
+++ b/configs/with_systemd_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Christian Storm <christian.storm@siemens.com>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_SYSTEMD=y
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
diff --git a/configs/with_ucfw_defconfig b/configs/with_ucfw_defconfig
index 6ab9ef5..6fb2ed9 100644
--- a/configs/with_ucfw_defconfig
+++ b/configs/with_ucfw_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Pierre-Jean Texier <pjtexier@koncepto.io>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_MTD is not set
 CONFIG_LUAPKG="lua5.2"
diff --git a/configs/without_libconfig_defconfig b/configs/without_libconfig_defconfig
index e750a38..5f11dd4 100644
--- a/configs/without_libconfig_defconfig
+++ b/configs/without_libconfig_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 CONFIG_LUAPKG="lua5.2"
 CONFIG_EXTRA_CFLAGS="-g"
diff --git a/configs/without_lua_defconfig b/configs/without_lua_defconfig
index ed5ca7b..8096432 100644
--- a/configs/without_lua_defconfig
+++ b/configs/without_lua_defconfig
@@ -1,3 +1,5 @@ 
+# SPDX-FileCopyrightText: 2021 Stefano Babic <sbabic@denx.de>
+# SPDX-License-Identifier: GPL-2.0-only
 CONFIG_HW_COMPATIBILITY=y
 # CONFIG_LUA is not set
 CONFIG_EXTRA_CFLAGS="-g"