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 7a636883ef60cc7cf7740dc49a3813f1cbcc03c0 Author: Alin Jerpelea <[email protected]> AuthorDate: Wed Dec 18 07:43:47 2024 +0100 builtin: 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]> --- builtin/CMakeLists.txt | 2 ++ builtin/Make.defs | 2 ++ builtin/Makefile | 2 ++ builtin/builtin_list.c | 6 ++++-- builtin/exec_builtin.c | 2 ++ 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/builtin/CMakeLists.txt b/builtin/CMakeLists.txt index e8be798e7..5447ff067 100644 --- a/builtin/CMakeLists.txt +++ b/builtin/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/builtin/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/builtin/Make.defs b/builtin/Make.defs index dad098de1..47d1bf960 100644 --- a/builtin/Make.defs +++ b/builtin/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/builtin/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/builtin/Makefile b/builtin/Makefile index a26e107e1..a5de31f6c 100644 --- a/builtin/Makefile +++ b/builtin/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/builtin/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/builtin/builtin_list.c b/builtin/builtin_list.c index dcc10e10b..9605b097c 100644 --- a/builtin/builtin_list.c +++ b/builtin/builtin_list.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/builtin/builtin_list.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 @@ -29,6 +31,8 @@ #include <sys/stat.h> +#include "builtin_proto.h" + /**************************************************************************** * Private Types ****************************************************************************/ @@ -41,8 +45,6 @@ * Public Data ****************************************************************************/ -#include "builtin_proto.h" - const struct builtin_s g_builtins[] = { # include "builtin_list.h" diff --git a/builtin/exec_builtin.c b/builtin/exec_builtin.c index 2bf28b8f4..325d594cf 100644 --- a/builtin/exec_builtin.c +++ b/builtin/exec_builtin.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/builtin/exec_builtin.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
