Generate olpc.fth depending on the target image type.