Topics/cmake misc pr v1
Created by: girishpathak
As part of SCP-firmware is moving away from GNU Make to CMake. This PR will enable some of the preparatory changes required for CMake to work effectively. I'm planning to add more PRs in the coming weeks for the CMake build system which depends on this PR.
NOTE: Existing build system will continue to work as it is before CMake is fully integrated and tested.