Skip to content

Commit

Permalink
builtin: migrate to SPDX identifier
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jerpelea authored and xiaoxiang781216 committed Dec 19, 2024
1 parent 087cac4 commit e41ef49
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions builtin/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions builtin/Make.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions builtin/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 4 additions & 2 deletions builtin/builtin_list.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -29,6 +31,8 @@

#include <sys/stat.h>

#include "builtin_proto.h"

/****************************************************************************
* Private Types
****************************************************************************/
Expand All @@ -41,8 +45,6 @@
* Public Data
****************************************************************************/

#include "builtin_proto.h"

const struct builtin_s g_builtins[] =
{
# include "builtin_list.h"
Expand Down
2 changes: 2 additions & 0 deletions builtin/exec_builtin.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit e41ef49

Please sign in to comment.