Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: improve board revision handling
In old hw model, board revisions was handled by creation of a revisions.cmake file. In the new hw model, board revisions are defined as integral part of board.yml, and revision.cmake is only needed and used for custom revision format. Users familiar with revision.cmake in old hw model may not be aware of this difference, therefore provide warnings if developers create a revision.cmake that is ignored by the build system. Also fail a build if users specify a board revision for a board which doesn't support revision. Such scenario can easily occur in the case where a board developer may be creating a revisions.cmake file and then try to build for a revision specified in that file. Signed-off-by: Torsten Rasmussen <[email protected]>
- Loading branch information