firmware: rewrite build system using cmake

No match.