Skip to content
Success

Changes

Summary

  1. buildsystem/gen_links: catch file not found errors (details)
Commit 990b49578f774eb47c403bcdd90c14dbf391ef30 by Oliver Smith
buildsystem/gen_links: catch file not found errors

Tweak gen_links() to sequentially iterate over the files for which
symlinks shall be created, and verify that each symlink target exists.
If the target does not exist, abort with an error:

  ERROR in bsc/gen_links.sh: file not found
    File (from FILES):
      SDP_EncDec.cc
    DIR:
      ../deps/titan.Libraries.TCCUsefulFunctions/src

This is slightly slower than the parallel approach from before, but it
prevents adding subtle bugs that don't trigger every time so IMHO the
trade-off is worth it.

Adjust the Makefile to ensure dependencies are fetched before running
gen_links.sh, so the targets are not missing when running this from a
fresh git clone without deps.

Change-Id: I0da0ec30e5eaf65d0348e22900a5ee006dee9e44
The file was modifiedMakefile
The file was modified_buildsystem/gen_links.inc.sh