build: add support for adding a per-device compile step in the new image building...