zephyr/scripts/west_commands/zspdx
Steve Winslow 878ee1493e west: spdx: Fix --init for Windows builds
Currently, west spdx --init uses os.mknod to create an empty file
to enable the Cmake file-based API system. As reported in #39311,
Python on Windows does not implement os.mknod.

This commit switches to using open()/close() instead of os.mknod()
to address this issue.

Signed-off-by: Steve Winslow <steve@swinslow.net>
2021-10-18 09:47:30 -04:00
..
__init__.py
cmakecache.py
cmakefileapi.py
cmakefileapijson.py
datatypes.py
getincludes.py
licenses.py
sbom.py
scanner.py
spdxids.py
util.py
walker.py
writer.py