examples/multi_process: add missing SPDX header to Makefile

Message ID 20201116022347.26136-1-stephen@networkplumber.org (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series examples/multi_process: add missing SPDX header to Makefile |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-testing success Testing PASS
ci/iol-intel-Functional fail Functional Testing issues
ci/iol-intel-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-mellanox-Performance success Performance Testing PASS
ci/travis-robot success Travis build: passed

Commit Message

Stephen Hemminger Nov. 16, 2020, 2:23 a.m. UTC
  Make is still used for these examples, so add header to Makefile

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/multi_process/Makefile                  | 3 +++
 examples/multi_process/client_server_mp/Makefile | 3 +++
 2 files changed, 6 insertions(+)
  

Comments

Bruce Richardson Nov. 16, 2020, 9:27 a.m. UTC | #1
On Sun, Nov 15, 2020 at 06:23:47PM -0800, Stephen Hemminger wrote:
> Make is still used for these examples, so add header to Makefile
> 
> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
> ---
>  examples/multi_process/Makefile                  | 3 +++
>  examples/multi_process/client_server_mp/Makefile | 3 +++
>  2 files changed, 6 insertions(+)
> 
> diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile
> index f0a999745a7d..937d00faa313 100644
> --- a/examples/multi_process/Makefile
> +++ b/examples/multi_process/Makefile
> @@ -1,3 +1,6 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(c) 2010-2014 Intel Corporation
> +
These two Makefiles are actually completely new, replacing the older ones,
so the year should probably be 2020 just (or else 2010-2020 if you want to
keep connection to the older ones). This is also why the old notice
disappeared, as the old file was deleted before the new was created.

/Bruce
  

Patch

diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile
index f0a999745a7d..937d00faa313 100644
--- a/examples/multi_process/Makefile
+++ b/examples/multi_process/Makefile
@@ -1,3 +1,6 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+
 subdirs := client_server_mp hotplug_mp simple_mp symmetric_mp
 
 .PHONY: all static shared clean $(subdirs)
diff --git a/examples/multi_process/client_server_mp/Makefile b/examples/multi_process/client_server_mp/Makefile
index e8debdfd9ac7..fbe6d67a7771 100644
--- a/examples/multi_process/client_server_mp/Makefile
+++ b/examples/multi_process/client_server_mp/Makefile
@@ -1,3 +1,6 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2010-2014 Intel Corporation
+
 subdirs := mp_client mp_server
 
 .PHONY: all static shared clean $(subdirs)