base-files: board_detect: allow specifying the generated file