[change from MRP] Refactor build system to improve support for building C code on other platforms

Description

There are some changes in MRP to better support building the bootloader on Windows, e.g. Ant macros for compiling the C code. Although we don't plan to support Windows in the near future, I think that the macros are useful and we should pull them.

Environment

All

Assignee

Erik Brangs

Reporter

Erik Brangs

Labels

None

Fix versions

Affects versions

Priority

Lowest
Configure