Added auto-generation for 'build.board' value in boards.txt.
See #1305.