Skip to content

Commit e41ef49

Browse files
jerpeleaxiaoxiang781216
authored andcommitted
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]>
1 parent 087cac4 commit e41ef49

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

builtin/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/builtin/CMakeLists.txt
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
57
# license agreements. See the NOTICE file distributed with this work for
68
# additional information regarding copyright ownership. The ASF licenses this

builtin/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/builtin/Make.defs
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

builtin/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/builtin/Makefile
33
#
4+
# SPDX-License-Identifier: Apache-2.0
5+
#
46
# Licensed to the Apache Software Foundation (ASF) under one or more
57
# contributor license agreements. See the NOTICE file distributed with
68
# this work for additional information regarding copyright ownership. The

builtin/builtin_list.c

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/builtin/builtin_list.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The
@@ -29,6 +31,8 @@
2931

3032
#include <sys/stat.h>
3133

34+
#include "builtin_proto.h"
35+
3236
/****************************************************************************
3337
* Private Types
3438
****************************************************************************/
@@ -41,8 +45,6 @@
4145
* Public Data
4246
****************************************************************************/
4347

44-
#include "builtin_proto.h"
45-
4648
const struct builtin_s g_builtins[] =
4749
{
4850
# include "builtin_list.h"

builtin/exec_builtin.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/builtin/exec_builtin.c
33
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*
46
* Licensed to the Apache Software Foundation (ASF) under one or more
57
* contributor license agreements. See the NOTICE file distributed with
68
* this work for additional information regarding copyright ownership. The

0 commit comments

Comments
 (0)