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 <alin.jerpelea@sony.com>
This commit is contained in:
Alin Jerpelea 2024-12-18 07:43:47 +01:00 committed by Xiang Xiao
parent 087cac4471
commit e41ef49995
5 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,8 @@
# ############################################################################## # ##############################################################################
# apps/builtin/CMakeLists.txt # apps/builtin/CMakeLists.txt
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more contributor # Licensed to the Apache Software Foundation (ASF) under one or more contributor
# license agreements. See the NOTICE file distributed with this work for # license agreements. See the NOTICE file distributed with this work for
# additional information regarding copyright ownership. The ASF licenses this # additional information regarding copyright ownership. The ASF licenses this

View file

@ -1,6 +1,8 @@
############################################################################ ############################################################################
# apps/builtin/Make.defs # apps/builtin/Make.defs
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with # contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The # this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
############################################################################ ############################################################################
# apps/builtin/Makefile # apps/builtin/Makefile
# #
# SPDX-License-Identifier: Apache-2.0
#
# Licensed to the Apache Software Foundation (ASF) under one or more # Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with # contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership. The # this work for additional information regarding copyright ownership. The

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/builtin/builtin_list.c * apps/builtin/builtin_list.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The
@ -29,6 +31,8 @@
#include <sys/stat.h> #include <sys/stat.h>
#include "builtin_proto.h"
/**************************************************************************** /****************************************************************************
* Private Types * Private Types
****************************************************************************/ ****************************************************************************/
@ -41,8 +45,6 @@
* Public Data * Public Data
****************************************************************************/ ****************************************************************************/
#include "builtin_proto.h"
const struct builtin_s g_builtins[] = const struct builtin_s g_builtins[] =
{ {
# include "builtin_list.h" # include "builtin_list.h"

View file

@ -1,6 +1,8 @@
/**************************************************************************** /****************************************************************************
* apps/builtin/exec_builtin.c * apps/builtin/exec_builtin.c
* *
* SPDX-License-Identifier: Apache-2.0
*
* Licensed to the Apache Software Foundation (ASF) under one or more * Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with * contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership. The * this work for additional information regarding copyright ownership. The