Update the files which contain no license information with the 'Apache-2.0' SPDX license identifier. Many source files in the tree are missing licensing information, which makes it harder for compliance tools to determine the correct license. By default all files without license information are under the default license of Zephyr, which is Apache version 2. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
12 lines
229 B
Python
12 lines
229 B
Python
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
import os
|
|
import sys
|
|
|
|
def main():
|
|
is_writeable = os.access(sys.argv[1], os.W_OK)
|
|
return_code = int(not is_writeable)
|
|
sys.exit(return_code)
|
|
|
|
if __name__ == "__main__":
|
|
main()
|