Use stable outputs in illink targets (#64160)
authorViktor Hofer <viktor.hofer@microsoft.com>
Mon, 31 Jan 2022 20:16:18 +0000 (21:16 +0100)
committerGitHub <noreply@github.com>
Mon, 31 Jan 2022 20:16:18 +0000 (21:16 +0100)
commit9821c6dc15a6e1545122de96d44acf709858e8a9
treeb8158f20bfe67eff2d3f6d5dd8ae1a2b1ac2d97c
parent94f2afb8cfbdd3fccf51cd3c377b4a06be823276
Use stable outputs in illink targets (#64160)

* Use stable outputs in illink targets

While building locally multiple times, I noticed that the incremental build of the illink-targets are now to aggressive and could cause the targets to either never run or too often. This could be the case when the linker doesn't trim anything and copies the inputs to the outputs directory with preserving the timestamps. In such cases the inputs would always be newer than the outputs and the step would alway run. Also the path that was used to construct the outputs was missing a trailing directory separator. Using a marker file instead to not be dependent on the freshness of the linker output.
src/libraries/illink-oob.targets
src/libraries/illink-sharedframework.targets