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:
parent
6e2d3f9514
commit
49cd8ccc6f
|
@ -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_STM32CUBE stm32cube)
|
||||||
add_subdirectory_ifdef(CONFIG_HAS_STM32LIB lib)
|
add_subdirectory_ifdef(CONFIG_HAS_STM32LIB lib)
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# Copyright (c) 2019 STMicroelectronics.
|
# Copyright (c) 2019 STMicroelectronics.
|
||||||
# This script will build module, readme and CMakelists.txt files
|
# This script will build module, readme and CMakelists.txt files
|
||||||
# to use with zephyr_module.py
|
# to use with zephyr_module.py
|
||||||
|
@ -158,7 +159,7 @@ def makelist(make_serie):
|
||||||
make_file.close()
|
make_file.close()
|
||||||
os.remove(os.path.join('./stm32cube', make_seriexx, 'CMakeLists.txt'))
|
os.remove(os.path.join('./stm32cube', make_seriexx, 'CMakeLists.txt'))
|
||||||
else:
|
else:
|
||||||
first_line = ''
|
first_line = ''
|
||||||
|
|
||||||
print 'Create a new CMakeLists.txt file'
|
print 'Create a new CMakeLists.txt file'
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#!/usr/bin/python
|
#!/usr/bin/python
|
||||||
|
|
||||||
|
# SPDX-License-Identifier: Apache-2.0
|
||||||
# Copyright (c) 2019 STMicroelectronics.
|
# Copyright (c) 2019 STMicroelectronics.
|
||||||
# This script will update the stm32cube module for Zephyr
|
# This script will update the stm32cube module for Zephyr
|
||||||
# from the latest version on https://github.com/STMicroelectronics
|
# 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)
|
print "Error when applying patch to zephyr module: see "+os.path.join(module_path, module_log)
|
||||||
else:
|
else:
|
||||||
option_force = True
|
option_force = True
|
||||||
|
|
||||||
# 7.3) add files but do not commit
|
# 7.3) add files but do not commit
|
||||||
os.system('git add * && git reset -- *.patch && git reset -- *.log && git reset -- *.rej')
|
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"
|
print "README file : --> please check that the Patch list is still valid"
|
||||||
|
|
Loading…
Reference in New Issue