Skip to content

Commit 2a89ee6

Browse files
jerpeleaxiaoxiang781216
authored andcommitted
lte: 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 905e79a commit 2a89ee6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+182
-54
lines changed

lte/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/lte/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

lte/Make.defs

+14-27
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,23 @@
11
############################################################################
22
# apps/lte/Make.defs
33
#
4-
# Copyright 2021 Sony Semiconductor Solutions Corporation
4+
# SPDX-License-Identifier: Apache-2.0
55
#
6-
# Redistribution and use in source and binary forms, with or without
7-
# modification, are permitted provided that the following conditions
8-
# are met:
6+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
7+
# license agreements. See the NOTICE file distributed with this work for
8+
# additional information regarding copyright ownership. The ASF licenses this
9+
# file to you under the Apache License, Version 2.0 (the "License"); you may not
10+
# use this file except in compliance with the License. You may obtain a copy of
11+
# the License at
912
#
10-
# 1. Redistributions of source code must retain the above copyright
11-
# notice, this list of conditions and the following disclaimer.
12-
# 2. Redistributions in binary form must reproduce the above copyright
13-
# notice, this list of conditions and the following disclaimer in
14-
# the documentation and/or other materials provided with the
15-
# distribution.
16-
# 3. Neither the name of Sony Semiconductor Solutions Corporation nor
17-
# the names of its contributors may be used to endorse or promote
18-
# products derived from this software without specific prior written
19-
# permission.
13+
# http://www.apache.org/licenses/LICENSE-2.0
2014
#
21-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23-
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24-
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25-
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28-
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29-
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30-
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31-
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32-
# POSSIBILITY OF SUCH DAMAGE.
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations under
19+
# the License.
3320
#
34-
############################################################################
21+
# ##############################################################################
3522

3623
include $(wildcard lte/*/Make.defs)

lte/Makefile

+14-27
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,24 @@
11
############################################################################
22
# apps/lte/Makefile
33
#
4-
# Copyright 2021 Sony Semiconductor Solutions Corporation
4+
# SPDX-License-Identifier: Apache-2.0
55
#
6-
# Redistribution and use in source and binary forms, with or without
7-
# modification, are permitted provided that the following conditions
8-
# are met:
6+
# Licensed to the Apache Software Foundation (ASF) under one or more contributor
7+
# license agreements. See the NOTICE file distributed with this work for
8+
# additional information regarding copyright ownership. The ASF licenses this
9+
# file to you under the Apache License, Version 2.0 (the "License"); you may not
10+
# use this file except in compliance with the License. You may obtain a copy of
11+
# the License at
912
#
10-
# 1. Redistributions of source code must retain the above copyright
11-
# notice, this list of conditions and the following disclaimer.
12-
# 2. Redistributions in binary form must reproduce the above copyright
13-
# notice, this list of conditions and the following disclaimer in
14-
# the documentation and/or other materials provided with the
15-
# distribution.
16-
# 3. Neither the name of Sony Semiconductor Solutions Corporation nor
17-
# the names of its contributors may be used to endorse or promote
18-
# products derived from this software without specific prior written
19-
# permission.
13+
# http://www.apache.org/licenses/LICENSE-2.0
2014
#
21-
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
22-
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
23-
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
24-
# FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
25-
# COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
26-
# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
27-
# BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
28-
# OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
29-
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30-
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
31-
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32-
# POSSIBILITY OF SUCH DAMAGE.
15+
# Unless required by applicable law or agreed to in writing, software
16+
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
17+
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
18+
# License for the specific language governing permissions and limitations under
19+
# the License.
3320
#
34-
############################################################################
21+
# ##############################################################################
3522

3623
MENUDESC = "LTE Libraries and NSH Add-Ons"
3724

lte/alt1250/CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# ##############################################################################
22
# apps/lte/alt1250/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

lte/alt1250/Make.defs

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/lte/alt1250/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

lte/alt1250/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
############################################################################
22
# apps/lte/alt1250/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

lte/alt1250/alt1250_atcmd.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_atcmd.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

lte/alt1250/alt1250_atcmd.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_atcmd.h
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

lte/alt1250/alt1250_container.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_container.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

lte/alt1250/alt1250_container.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_container.h
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

lte/alt1250/alt1250_daemon.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_daemon.h
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

lte/alt1250/alt1250_dbg.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_dbg.h
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

lte/alt1250/alt1250_devevent.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_devevent.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

lte/alt1250/alt1250_devevent.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_devevent.h
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

lte/alt1250/alt1250_devif.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_devif.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

lte/alt1250/alt1250_devif.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_devif.h
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

lte/alt1250/alt1250_main.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_main.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

lte/alt1250/alt1250_netdev.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_netdev.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

lte/alt1250/alt1250_netdev.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_netdev.h
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

lte/alt1250/alt1250_postproc.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_postproc.h
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

lte/alt1250/alt1250_reset_seq.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_reset_seq.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

lte/alt1250/alt1250_reset_seq.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_reset_seq.h
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

lte/alt1250/alt1250_select.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_select.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

lte/alt1250/alt1250_select.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_select.h
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

lte/alt1250/alt1250_socket.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_socket.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

lte/alt1250/alt1250_socket.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_socket.h
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

lte/alt1250/alt1250_usockevent.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_usockevent.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

lte/alt1250/alt1250_usockevent.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_usockevent.h
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

lte/alt1250/alt1250_usockif.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_usockif.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

lte/alt1250/alt1250_usockif.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_usockif.h
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

lte/alt1250/alt1250_util.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_util.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

lte/alt1250/alt1250_util.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/alt1250_util.h
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

lte/alt1250/callback_handlers/alt1250_evt.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/callback_handlers/alt1250_evt.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

lte/alt1250/callback_handlers/alt1250_evt.h

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/callback_handlers/alt1250_evt.h
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

lte/alt1250/usock_handlers/alt1250_accepthdlr.c

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/****************************************************************************
22
* apps/lte/alt1250/usock_handlers/alt1250_accepthdlr.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)