Commit Graph

2 Commits

Author SHA1 Message Date
Torsten Rasmussen fe5728dcb0 cmake: using MD5_INFILE variable instead of ZephyrPackagePath.txt
Running `west zephyr-export` creates an entry in the CMake User package
registry.

During this process, a temporary file `current_path.txt` is created.

This commit ensure the file is removed when no longer needed.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2021-02-23 19:34:27 +01:00
Torsten Rasmussen edde894d04 cmake: Zephyr CMake package clean-up and minor fix
Fixes: #27375

This is a cleanup of the Zephyr CMake package export.
The code has been simplified so that the export now happens through a
CMake script. This avoids several generated CMake build files compared
to previous export mode, and thus removes the need for a CMake pristine
script.

A benefit of this cleanup is that it also fixes #27375.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-08-19 12:52:33 -04:00