This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch releases/12.8 in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
commit d8f44f877b965a5e4138bf760050c7426a9186ba Author: Alin Jerpelea <[email protected]> AuthorDate: Wed Dec 18 08:04:11 2024 +0100 canutils: migrate to SPDX identifier Most tools used for compliance and SBOM generation use SPDX identifiers This change brings us a step closer to an easy SBOM generation. Signed-off-by: Alin Jerpelea <[email protected]> --- canutils/CMakeLists.txt | 2 ++ canutils/Make.defs | 2 ++ canutils/Makefile | 2 ++ canutils/candump/CMakeLists.txt | 2 ++ canutils/candump/Make.defs | 3 ++- canutils/candump/Makefile | 2 ++ canutils/candump/candump.c | 23 +++++++++++++++++------ canutils/canlib/CMakeLists.txt | 2 ++ canutils/canlib/Make.defs | 2 ++ canutils/canlib/Makefile | 2 ++ canutils/canlib/canlib_getbaud.c | 2 ++ canutils/canlib/canlib_getloopback.c | 2 ++ canutils/canlib/canlib_getsilent.c | 2 ++ canutils/canlib/canlib_setbaud.c | 2 ++ canutils/canlib/canlib_setloopback.c | 2 ++ canutils/canlib/canlib_setsilent.c | 2 ++ canutils/cansend/CMakeLists.txt | 2 ++ canutils/cansend/Make.defs | 3 ++- canutils/cansend/Makefile | 2 ++ canutils/cansend/cansend.c | 26 ++------------------------ canutils/lely-canopen/CMakeLists.txt | 2 ++ canutils/lely-canopen/Make.defs | 2 ++ canutils/lely-canopen/Makefile | 2 ++ canutils/libcanutils/CMakeLists.txt | 2 ++ canutils/libcanutils/Make.defs | 2 ++ canutils/libcanutils/Makefile | 2 ++ canutils/libcanutils/lib.c | 10 ++++------ canutils/libcanutils/lib.h | 10 ++++------ canutils/libcanutils/terminal.h | 10 +++++----- canutils/libdronecan/CMakeLists.txt | 2 ++ canutils/libdronecan/Make.defs | 2 ++ canutils/libdronecan/Makefile | 2 ++ canutils/libobd2/CMakeLists.txt | 2 ++ canutils/libobd2/Make.defs | 2 ++ canutils/libobd2/Makefile | 2 ++ canutils/libobd2/obd2.c | 2 ++ canutils/libobd2/obd_decodepid.c | 2 ++ canutils/libobd2/obd_sendrequest.c | 2 ++ canutils/libobd2/obd_waitresponse.c | 2 ++ canutils/libopencyphal/CMakeLists.txt | 2 ++ canutils/libopencyphal/Make.defs | 2 ++ canutils/libopencyphal/Makefile | 2 ++ canutils/slcan/CMakeLists.txt | 2 ++ canutils/slcan/Make.defs | 3 ++- canutils/slcan/Makefile | 2 ++ canutils/slcan/slcan.c | 2 ++ canutils/slcan/slcan.h | 2 ++ 47 files changed, 116 insertions(+), 50 deletions(-) diff --git a/canutils/CMakeLists.txt b/canutils/CMakeLists.txt index 238b40af2..aa4a02ed9 100644 --- a/canutils/CMakeLists.txt +++ b/canutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/Make.defs b/canutils/Make.defs index 77a6c4d3a..b68638da8 100644 --- a/canutils/Make.defs +++ b/canutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/Makefile b/canutils/Makefile index d8d9f1ddd..68a1d93b2 100644 --- a/canutils/Makefile +++ b/canutils/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/candump/CMakeLists.txt b/canutils/candump/CMakeLists.txt index 590f7897b..be4f27f0b 100644 --- a/canutils/candump/CMakeLists.txt +++ b/canutils/candump/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/candump/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/candump/Make.defs b/canutils/candump/Make.defs index bf15862fe..d781a87b5 100644 --- a/canutils/candump/Make.defs +++ b/canutils/candump/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/canutils/candump/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/canutils/candump/Makefile b/canutils/candump/Makefile index 080ca6436..d8861496f 100644 --- a/canutils/candump/Makefile +++ b/canutils/candump/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/candump/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/candump/candump.c b/canutils/candump/candump.c index 66887fb61..58958a46f 100644 --- a/canutils/candump/candump.c +++ b/canutils/candump/candump.c @@ -1,9 +1,8 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * candump.c +/**************************************************************************** + * apps/canutils/candump/candump.c * - * Copyright (c) 2002-2009 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,7 +39,11 @@ * * Send feedback to <[email protected]> * - */ + ****************************************************************************/ + +/**************************************************************************** + * Included Files + ****************************************************************************/ #include <stdio.h> #include <stdlib.h> @@ -66,6 +69,10 @@ #include "terminal.h" #include "lib.h" +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + /* for hardware timestamps - since Linux 2.6.30 */ #ifndef SO_TIMESTAMPING #define SO_TIMESTAMPING 37 @@ -98,6 +105,10 @@ const char col_on [MAXCOL][19] = {BLUE, RED, GREEN, BOLD, MAGENTA, CYAN}; const char col_off [] = ATTRESET; +/**************************************************************************** + * Public Functions + ****************************************************************************/ + static __u32 dropcnt[MAXSOCK]; static __u32 last_dropcnt[MAXSOCK]; static char devname[MAXIFNAMES][IFNAMSIZ+1]; diff --git a/canutils/canlib/CMakeLists.txt b/canutils/canlib/CMakeLists.txt index 9cdfb3128..9f8af63e1 100644 --- a/canutils/canlib/CMakeLists.txt +++ b/canutils/canlib/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/canlib/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/canlib/Make.defs b/canutils/canlib/Make.defs index fd712bee8..61e591c18 100644 --- a/canutils/canlib/Make.defs +++ b/canutils/canlib/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/canlib/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/Makefile b/canutils/canlib/Makefile index 54fc23f66..64ecdb0a3 100644 --- a/canutils/canlib/Makefile +++ b/canutils/canlib/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/canlib/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_getbaud.c b/canutils/canlib/canlib_getbaud.c index 23965e70e..af123edea 100644 --- a/canutils/canlib/canlib_getbaud.c +++ b/canutils/canlib/canlib_getbaud.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_getbaud.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_getloopback.c b/canutils/canlib/canlib_getloopback.c index f9ba5fdf3..443161e96 100644 --- a/canutils/canlib/canlib_getloopback.c +++ b/canutils/canlib/canlib_getloopback.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_getloopback.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_getsilent.c b/canutils/canlib/canlib_getsilent.c index ffb4abfed..868072eb1 100644 --- a/canutils/canlib/canlib_getsilent.c +++ b/canutils/canlib/canlib_getsilent.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_getsilent.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_setbaud.c b/canutils/canlib/canlib_setbaud.c index 0b4fa322a..b3ee68f26 100644 --- a/canutils/canlib/canlib_setbaud.c +++ b/canutils/canlib/canlib_setbaud.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_setbaud.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_setloopback.c b/canutils/canlib/canlib_setloopback.c index bc88956c8..7e78b1a34 100644 --- a/canutils/canlib/canlib_setloopback.c +++ b/canutils/canlib/canlib_setloopback.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_setloopback.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/canlib/canlib_setsilent.c b/canutils/canlib/canlib_setsilent.c index da05f01b1..0900f9261 100644 --- a/canutils/canlib/canlib_setsilent.c +++ b/canutils/canlib/canlib_setsilent.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/canlib/canlib_setsilent.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/cansend/CMakeLists.txt b/canutils/cansend/CMakeLists.txt index 207911f65..311916666 100644 --- a/canutils/cansend/CMakeLists.txt +++ b/canutils/cansend/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/cansend/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/cansend/Make.defs b/canutils/cansend/Make.defs index 2361a59bc..13ddf36f4 100644 --- a/canutils/cansend/Make.defs +++ b/canutils/cansend/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/canutils/cansend/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/canutils/cansend/Makefile b/canutils/cansend/Makefile index 52d17f3f8..ae0e2cc1c 100644 --- a/canutils/cansend/Makefile +++ b/canutils/cansend/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/cansend/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/cansend/cansend.c b/canutils/cansend/cansend.c index f630addf7..42fcffc79 100644 --- a/canutils/cansend/cansend.c +++ b/canutils/cansend/cansend.c @@ -1,30 +1,8 @@ /**************************************************************************** * apps/canutils/cansend/cansend.c * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. The - * ASF licenses this file to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance with the - * License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - ****************************************************************************/ - -/**************************************************************************** - * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) * - * - * cansend.c - send CAN-frames via CAN_RAW sockets - * - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions diff --git a/canutils/lely-canopen/CMakeLists.txt b/canutils/lely-canopen/CMakeLists.txt index 380bd4909..1211500d7 100644 --- a/canutils/lely-canopen/CMakeLists.txt +++ b/canutils/lely-canopen/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/lely-canopen/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/lely-canopen/Make.defs b/canutils/lely-canopen/Make.defs index 1230d307c..09f0c06cd 100644 --- a/canutils/lely-canopen/Make.defs +++ b/canutils/lely-canopen/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/lely-canopen/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/lely-canopen/Makefile b/canutils/lely-canopen/Makefile index c85733013..1985016c4 100644 --- a/canutils/lely-canopen/Makefile +++ b/canutils/lely-canopen/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/lely-canopen/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libcanutils/CMakeLists.txt b/canutils/libcanutils/CMakeLists.txt index 62943e924..1ceb042e5 100644 --- a/canutils/libcanutils/CMakeLists.txt +++ b/canutils/libcanutils/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libcanutils/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libcanutils/Make.defs b/canutils/libcanutils/Make.defs index 70e0418d5..4c40e4cdf 100644 --- a/canutils/libcanutils/Make.defs +++ b/canutils/libcanutils/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libcanutils/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libcanutils/Makefile b/canutils/libcanutils/Makefile index cb790c853..d7eb68785 100644 --- a/canutils/libcanutils/Makefile +++ b/canutils/libcanutils/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libcanutils/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libcanutils/lib.c b/canutils/libcanutils/lib.c index 12580521a..749761d61 100644 --- a/canutils/libcanutils/lib.c +++ b/canutils/libcanutils/lib.c @@ -1,9 +1,7 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * lib.c - library for command line tools +/**************************************************************************** * - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,7 +38,7 @@ * * Send feedback to <[email protected]> * - */ + ****************************************************************************/ #include <stdio.h> #include <string.h> diff --git a/canutils/libcanutils/lib.h b/canutils/libcanutils/lib.h index 97db405df..ebabb6a4d 100644 --- a/canutils/libcanutils/lib.h +++ b/canutils/libcanutils/lib.h @@ -1,9 +1,7 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * lib.h - library include for command line tools +/**************************************************************************** * - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -40,7 +38,7 @@ * * Send feedback to <[email protected]> * - */ + ****************************************************************************/ #ifndef CAN_UTILS_LIB_H #define CAN_UTILS_LIB_H diff --git a/canutils/libcanutils/terminal.h b/canutils/libcanutils/terminal.h index 198b48ec0..1b25e9ad3 100644 --- a/canutils/libcanutils/terminal.h +++ b/canutils/libcanutils/terminal.h @@ -1,7 +1,7 @@ -/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ -/* - * Copyright (c) 2002-2007 Volkswagen Group Electronic Research - * All rights reserved. +/**************************************************************************** + * + * SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) + * SPDX-FileCopyrightText: 2002-2007 Volkswagen Group Electronic Research * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -38,7 +38,7 @@ * * Send feedback to <[email protected]> * - */ + ****************************************************************************/ #ifndef TERMINAL_H #define TERMINAL_H diff --git a/canutils/libdronecan/CMakeLists.txt b/canutils/libdronecan/CMakeLists.txt index feb29e354..c8f7af9b2 100644 --- a/canutils/libdronecan/CMakeLists.txt +++ b/canutils/libdronecan/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libdronecan/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libdronecan/Make.defs b/canutils/libdronecan/Make.defs index ad0ea54bb..1a694e878 100644 --- a/canutils/libdronecan/Make.defs +++ b/canutils/libdronecan/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libdronecan/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libdronecan/Makefile b/canutils/libdronecan/Makefile index 7606ac4a3..0ad1d2dd4 100644 --- a/canutils/libdronecan/Makefile +++ b/canutils/libdronecan/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libdronecan/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/CMakeLists.txt b/canutils/libobd2/CMakeLists.txt index ee9515a8a..f0dd56497 100644 --- a/canutils/libobd2/CMakeLists.txt +++ b/canutils/libobd2/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libobd2/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libobd2/Make.defs b/canutils/libobd2/Make.defs index 097093059..9e619d04d 100644 --- a/canutils/libobd2/Make.defs +++ b/canutils/libobd2/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libobd2/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/Makefile b/canutils/libobd2/Makefile index 495f1c069..2a1daebb0 100644 --- a/canutils/libobd2/Makefile +++ b/canutils/libobd2/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libobd2/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd2.c b/canutils/libobd2/obd2.c index fcf007b2a..723b2f37c 100644 --- a/canutils/libobd2/obd2.c +++ b/canutils/libobd2/obd2.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd2.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd_decodepid.c b/canutils/libobd2/obd_decodepid.c index 3a3439a74..0198d09bb 100644 --- a/canutils/libobd2/obd_decodepid.c +++ b/canutils/libobd2/obd_decodepid.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd_decodepid.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd_sendrequest.c b/canutils/libobd2/obd_sendrequest.c index 2fb4c7d57..3dc7243bd 100644 --- a/canutils/libobd2/obd_sendrequest.c +++ b/canutils/libobd2/obd_sendrequest.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd_sendrequest.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libobd2/obd_waitresponse.c b/canutils/libobd2/obd_waitresponse.c index d000a5a19..12c8a13e0 100644 --- a/canutils/libobd2/obd_waitresponse.c +++ b/canutils/libobd2/obd_waitresponse.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/libobd2/obd_waitresponse.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/libopencyphal/CMakeLists.txt b/canutils/libopencyphal/CMakeLists.txt index d79becba0..3f0efee73 100644 --- a/canutils/libopencyphal/CMakeLists.txt +++ b/canutils/libopencyphal/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/libopencyphal/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/libopencyphal/Make.defs b/canutils/libopencyphal/Make.defs index 5fdf13abf..483bfbcab 100644 --- a/canutils/libopencyphal/Make.defs +++ b/canutils/libopencyphal/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libopencyphal/Make.defs # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/libopencyphal/Makefile b/canutils/libopencyphal/Makefile index 5d580dd08..52f4e90c3 100644 --- a/canutils/libopencyphal/Makefile +++ b/canutils/libopencyphal/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/libopencyphal/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/slcan/CMakeLists.txt b/canutils/slcan/CMakeLists.txt index 3dd7ddeac..5feb5c28d 100644 --- a/canutils/slcan/CMakeLists.txt +++ b/canutils/slcan/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/canutils/slcan/CMakeLists.txt # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more contributor # license agreements. See the NOTICE file distributed with this work for # additional information regarding copyright ownership. The ASF licenses this diff --git a/canutils/slcan/Make.defs b/canutils/slcan/Make.defs index dd6f6db53..4f5ec3b6a 100644 --- a/canutils/slcan/Make.defs +++ b/canutils/slcan/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/canutils/slcan/Make.defs -# Adds selected applications to apps/ build +# +# SPDX-License-Identifier: Apache-2.0 # # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with diff --git a/canutils/slcan/Makefile b/canutils/slcan/Makefile index 5ff4ce64f..5b2f12a17 100644 --- a/canutils/slcan/Makefile +++ b/canutils/slcan/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/canutils/slcan/Makefile # +# SPDX-License-Identifier: Apache-2.0 +# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. The diff --git a/canutils/slcan/slcan.c b/canutils/slcan/slcan.c index 6190e2ea2..c26577814 100644 --- a/canutils/slcan/slcan.c +++ b/canutils/slcan/slcan.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/slcan/slcan.c * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The diff --git a/canutils/slcan/slcan.h b/canutils/slcan/slcan.h index cc6bedce0..229069ccf 100644 --- a/canutils/slcan/slcan.h +++ b/canutils/slcan/slcan.h @@ -1,6 +1,8 @@ /**************************************************************************** * apps/canutils/slcan/slcan.h * + * SPDX-License-Identifier: Apache-2.0 + * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. The
