Licenses: Add Apache-2.0 SPDX when missing

Some files were missing explicit License information.
Add Apache-2.0 SPDX tag in these few cases.


Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2020-06-25 09:06:19 +02:00 committed by Kumar Gala
parent 6e2d3f9514
commit 49cd8ccc6f
3 changed files with 10 additions and 2 deletions

View File

@ -1,2 +1,8 @@
# Makefile - STM32Cube SDK
#
# Copyright (c) 2020 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
add_subdirectory_ifdef(CONFIG_HAS_STM32CUBE stm32cube)
add_subdirectory_ifdef(CONFIG_HAS_STM32LIB lib)

View File

@ -1,5 +1,6 @@
#!/usr/bin/python
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2019 STMicroelectronics.
# This script will build module, readme and CMakelists.txt files
# to use with zephyr_module.py
@ -158,7 +159,7 @@ def makelist(make_serie):
make_file.close()
os.remove(os.path.join('./stm32cube', make_seriexx, 'CMakeLists.txt'))
else:
first_line = ''
first_line = ''
print 'Create a new CMakeLists.txt file'

View File

@ -1,5 +1,6 @@
#!/usr/bin/python
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2019 STMicroelectronics.
# This script will update the stm32cube module for Zephyr
# from the latest version on https://github.com/STMicroelectronics
@ -283,7 +284,7 @@ if os.system(git_cmd):
print "Error when applying patch to zephyr module: see "+os.path.join(module_path, module_log)
else:
option_force = True
# 7.3) add files but do not commit
os.system('git add * && git reset -- *.patch && git reset -- *.log && git reset -- *.rej')
print "README file : --> please check that the Patch list is still valid"