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>
pull/63/head
Erwan Gouriou 2 years ago committed by Kumar Gala
parent 6e2d3f9514
commit 49cd8ccc6f
  1. 6
      CMakeLists.txt
  2. 3
      scripts/make_stm32_module.py
  3. 3
      scripts/update_stm32_package.py

@ -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)

@ -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'

@ -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"

Loading…
Cancel
Save