From c1a2c3e7bd7aa4b7f1d89385da10ba749eb51780 Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Mon, 18 Mar 2024 11:17:33 +0200 Subject: [PATCH] linux-gen: m4: add missing copyright licenses Copyright licenses were missing from multiple platform m4 files. Signed-off-by: Matias Elo Reviewed-by: Tuomas Taipale --- platform/linux-generic/m4/configure.m4 | 4 ++++ platform/linux-generic/m4/odp_cpu.m4 | 4 ++++ platform/linux-generic/m4/odp_crypto.m4 | 5 +++++ platform/linux-generic/m4/odp_dpdk.m4 | 4 ++++ platform/linux-generic/m4/odp_event_validation.m4 | 4 ++++ platform/linux-generic/m4/odp_ipsec_mb.m4 | 4 ++++ platform/linux-generic/m4/odp_libconfig.m4 | 4 ++++ platform/linux-generic/m4/odp_ml.m4 | 4 ++++ platform/linux-generic/m4/odp_openssl.m4 | 4 ++++ platform/linux-generic/m4/odp_pcap.m4 | 4 ++++ platform/linux-generic/m4/odp_pcapng.m4 | 4 ++++ platform/linux-generic/m4/odp_scheduler.m4 | 4 ++++ platform/linux-generic/m4/odp_wfe.m4 | 4 ++++ platform/linux-generic/m4/odp_xdp.m4 | 4 ++++ 14 files changed, 57 insertions(+) diff --git a/platform/linux-generic/m4/configure.m4 b/platform/linux-generic/m4/configure.m4 index 9bb2b0e976..d662ecfcd0 100644 --- a/platform/linux-generic/m4/configure.m4 +++ b/platform/linux-generic/m4/configure.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2014 Linaro Limited +# + ODP_IMPLEMENTATION_NAME="odp-linux" ODP_LIB_NAME="odp-linux" diff --git a/platform/linux-generic/m4/odp_cpu.m4 b/platform/linux-generic/m4/odp_cpu.m4 index 35a83faf65..f363813f16 100644 --- a/platform/linux-generic/m4/odp_cpu.m4 +++ b/platform/linux-generic/m4/odp_cpu.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2021 Nokia +# + ########################################################################## # Set ODP_CACHE_LINE_SIZE define ########################################################################## diff --git a/platform/linux-generic/m4/odp_crypto.m4 b/platform/linux-generic/m4/odp_crypto.m4 index 1cec6edb4e..e7cfa88658 100644 --- a/platform/linux-generic/m4/odp_crypto.m4 +++ b/platform/linux-generic/m4/odp_crypto.m4 @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2022 ARM Limited +# Copyright (c) 2022 Nokia +# + # ODP_CRYPTO # ---------- # Select default crypto implementation diff --git a/platform/linux-generic/m4/odp_dpdk.m4 b/platform/linux-generic/m4/odp_dpdk.m4 index dc3c9610e5..2e101df301 100644 --- a/platform/linux-generic/m4/odp_dpdk.m4 +++ b/platform/linux-generic/m4/odp_dpdk.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2016 Linaro Limited +# + ########################################################################## # Enable DPDK support ########################################################################## diff --git a/platform/linux-generic/m4/odp_event_validation.m4 b/platform/linux-generic/m4/odp_event_validation.m4 index 08bb8902ef..df466d4eea 100644 --- a/platform/linux-generic/m4/odp_event_validation.m4 +++ b/platform/linux-generic/m4/odp_event_validation.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2022 Nokia +# + # ODP_EVENT_VALIDATION # -------------------- # Select event validation level diff --git a/platform/linux-generic/m4/odp_ipsec_mb.m4 b/platform/linux-generic/m4/odp_ipsec_mb.m4 index 3268d94c04..d85d179a31 100644 --- a/platform/linux-generic/m4/odp_ipsec_mb.m4 +++ b/platform/linux-generic/m4/odp_ipsec_mb.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2022 ARM Limited +# + ######################################################################### # Check for libIPSec_MB availability ######################################################################### diff --git a/platform/linux-generic/m4/odp_libconfig.m4 b/platform/linux-generic/m4/odp_libconfig.m4 index 77095e0fec..25ffd87a4e 100644 --- a/platform/linux-generic/m4/odp_libconfig.m4 +++ b/platform/linux-generic/m4/odp_libconfig.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2020 Nokia +# + ########################################################################## # Configuration file version ########################################################################## diff --git a/platform/linux-generic/m4/odp_ml.m4 b/platform/linux-generic/m4/odp_ml.m4 index a7b9a4fd6e..ab424ab398 100644 --- a/platform/linux-generic/m4/odp_ml.m4 +++ b/platform/linux-generic/m4/odp_ml.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2023 Nokia +# + ########################################################################## # Onnxruntime library path and name ########################################################################## diff --git a/platform/linux-generic/m4/odp_openssl.m4 b/platform/linux-generic/m4/odp_openssl.m4 index 3d3f13a81a..4f51b6b01f 100644 --- a/platform/linux-generic/m4/odp_openssl.m4 +++ b/platform/linux-generic/m4/odp_openssl.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2015 Linaro Limited +# + ########################################################################## # Enable/disable usage of OpenSSL library ########################################################################## diff --git a/platform/linux-generic/m4/odp_pcap.m4 b/platform/linux-generic/m4/odp_pcap.m4 index dd1c16e692..cc74d0ca3e 100644 --- a/platform/linux-generic/m4/odp_pcap.m4 +++ b/platform/linux-generic/m4/odp_pcap.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2015 Linaro Limited +# + # ODP_PCAP([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) # -------------------------------------------------- AC_DEFUN([ODP_PCAP], diff --git a/platform/linux-generic/m4/odp_pcapng.m4 b/platform/linux-generic/m4/odp_pcapng.m4 index 6ad92db882..58e5374784 100644 --- a/platform/linux-generic/m4/odp_pcapng.m4 +++ b/platform/linux-generic/m4/odp_pcapng.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2018 Linaro Limited +# + ########################################################################## # Enable PCAPNG support ########################################################################## diff --git a/platform/linux-generic/m4/odp_scheduler.m4 b/platform/linux-generic/m4/odp_scheduler.m4 index c199ceed54..d6f1c6e5c5 100644 --- a/platform/linux-generic/m4/odp_scheduler.m4 +++ b/platform/linux-generic/m4/odp_scheduler.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2016 Linaro Limited +# + # ODP_SCHEDULER # ------------- # Select default scheduler diff --git a/platform/linux-generic/m4/odp_wfe.m4 b/platform/linux-generic/m4/odp_wfe.m4 index f0f0542f7c..678e6229bb 100644 --- a/platform/linux-generic/m4/odp_wfe.m4 +++ b/platform/linux-generic/m4/odp_wfe.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2023 Nokia +# + ########################################################################## # Enable/disable WFE based lock implementations ########################################################################## diff --git a/platform/linux-generic/m4/odp_xdp.m4 b/platform/linux-generic/m4/odp_xdp.m4 index dcfd39ed7b..6820088af0 100644 --- a/platform/linux-generic/m4/odp_xdp.m4 +++ b/platform/linux-generic/m4/odp_xdp.m4 @@ -1,3 +1,7 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright (c) 2022 Nokia +# + ########################################################################## # Check for libxdp availability ##########################################################################