Add validation to ensure paths in config.txt exist in
00-hexagon-dsp-binaries.yaml, reporting each missing path once.
Signed-off-by: Vinayak Katoch <vkatoch@qti.qualcomm.com>
The check.py script already warns about missing dirs. Don't choke on
them in check_dirs(), fixing the following crash:
Traceback (most recent call last):
File "/home/lumag/Projects/Qcomm/Firmware/hexagon-dsp-binaries/./scripts/check.py", line 249, in <module>
sys.exit(main())
~~~~^^
File "/home/lumag/Projects/Qcomm/Firmware/hexagon-dsp-binaries/./scripts/check.py", line 242, in main
if not check_dir(entry):
~~~~~~~~~^^^^^^^
File "/home/lumag/Projects/Qcomm/Firmware/hexagon-dsp-binaries/./scripts/check.py", line 184, in check_dir
for file in os.listdir(subdir):
~~~~~~~~~~^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'qcs615/Qualcomm/foo/bar'
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Both "Install" & "Link" are valid config actions. Update check.py script
to parse 'Link' entries as well in addition to existing 'Install' entries.
Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
According to FastRPC developers, the map*txt files are useless artifacts
of the build process. As we have removed them from the repo, make
check.py disallow them from being introduced to the repo in future.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Run validation checks on the binary subdirs, checking that there are no
unknown file types.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Skip git-ls-files check if the script is executed with no .git subdir
being present.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Add missing License tags and copyrights. The scripts were written by a
Linaro employee, so that company owns initial copyrights.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>