Generate memory map file when building.