Skip to content

Commit ac74d8b

Browse files
dbkindergalak
authored andcommitted
license: Replace Apache boilerplate with SPDX tag
Replace the existing Apache 2.0 boilerplate header with an SPDX tag throughout the zephyr code tree. This patch was generated via a script run over the master branch. Also updated doc/porting/application.rst that had a dependency on line numbers in a literal include. Manually updated subsys/logging/sys_log.c that had a malformed header in the original file. Also cleanup several cases that already had a SPDX tag and we either got a duplicate or missed updating. Jira: ZEP-1457 Change-Id: I6131a1d4ee0e58f5b938300c2d2fc77d2e69572c Signed-off-by: David B. Kinder <[email protected]> Signed-off-by: Kumar Gala <[email protected]>
1 parent 811b371 commit ac74d8b

File tree

1,637 files changed

+1642
-18009
lines changed

Some content is hidden

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

1,637 files changed

+1642
-18009
lines changed

Kconfig

+1-11
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
#
44
# Copyright (c) 2014-2015 Wind River Systems, Inc.
55
#
6-
# Licensed under the Apache License, Version 2.0 (the "License");
7-
# you may not use this file except in compliance with the License.
8-
# You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing, software
13-
# distributed under the License is distributed on an "AS IS" BASIS,
14-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
# See the License for the specific language governing permissions and
16-
# limitations under the License.
6+
# SPDX-License-Identifier: Apache-2.0
177
#
188
mainmenu "Zephyr Kernel Configuration"
199

Kconfig.zephyr

+1-11
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,7 @@
44
# Copyright (c) 2014-2015 Wind River Systems, Inc.
55
# Copyright (c) 2016 Intel Corporation
66
#
7-
# Licensed under the Apache License, Version 2.0 (the "License");
8-
# you may not use this file except in compliance with the License.
9-
# You may obtain a copy of the License at
10-
#
11-
# http://www.apache.org/licenses/LICENSE-2.0
12-
#
13-
# Unless required by applicable law or agreed to in writing, software
14-
# distributed under the License is distributed on an "AS IS" BASIS,
15-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
# See the License for the specific language governing permissions and
17-
# limitations under the License.
7+
# SPDX-License-Identifier: Apache-2.0
188
#
199
config KERNELVERSION
2010
string

arch/Kconfig

+1-11
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,7 @@
44
# Copyright (c) 2014-2015 Wind River Systems, Inc.
55
# Copyright (c) 2015 Intel Corporation
66
#
7-
# Licensed under the Apache License, Version 2.0 (the "License");
8-
# you may not use this file except in compliance with the License.
9-
# You may obtain a copy of the License at
10-
#
11-
# http://www.apache.org/licenses/LICENSE-2.0
12-
#
13-
# Unless required by applicable law or agreed to in writing, software
14-
# distributed under the License is distributed on an "AS IS" BASIS,
15-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
# See the License for the specific language governing permissions and
17-
# limitations under the License.
7+
# SPDX-License-Identifier: Apache-2.0
188
#
199

2010

arch/arc/Kconfig

+1-11
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
#
44
# Copyright (c) 2014 Wind River Systems, Inc.
55
#
6-
# Licensed under the Apache License, Version 2.0 (the "License");
7-
# you may not use this file except in compliance with the License.
8-
# You may obtain a copy of the License at
9-
#
10-
# http://www.apache.org/licenses/LICENSE-2.0
11-
#
12-
# Unless required by applicable law or agreed to in writing, software
13-
# distributed under the License is distributed on an "AS IS" BASIS,
14-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
# See the License for the specific language governing permissions and
16-
# limitations under the License.
6+
# SPDX-License-Identifier: Apache-2.0
177
#
188

199
choice

arch/arc/core/atomic.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/cache.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
/*
44
* Copyright (c) 2016 Synopsys, Inc. All rights reserved.
55
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
6+
* SPDX-License-Identifier: Apache-2.0
177
*/
188

199
/**

arch/arc/core/cpu_idle.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/fast_irq.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/fatal.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/fault.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/fault_s.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/irq_manage.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/irq_offload.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2015 Intel corporation
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/irq_vector_table.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/isr_wrapper.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014-2015 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/offsets/offsets.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/prep_c.c

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/regular_irq.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/reset.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

arch/arc/core/sw_isr_table.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,7 @@
33
/*
44
* Copyright (c) 2015 Intel Corporation
55
*
6-
* Licensed under the Apache License, Version 2.0 (the "License");
7-
* you may not use this file except in compliance with the License.
8-
* You may obtain a copy of the License at
9-
*
10-
* http://www.apache.org/licenses/LICENSE-2.0
11-
*
12-
* Unless required by applicable law or agreed to in writing, software
13-
* distributed under the License is distributed on an "AS IS" BASIS,
14-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15-
* See the License for the specific language governing permissions and
16-
* limitations under the License.
6+
* SPDX-License-Identifier: Apache-2.0
177
*/
188

199
#define _ASMLANGUAGE

arch/arc/core/swap.S

+1-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
/*
22
* Copyright (c) 2014-2015 Wind River Systems, Inc.
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
4+
* SPDX-License-Identifier: Apache-2.0
155
*/
166

177
/**

0 commit comments

Comments
 (0)