formalize profile name to build conf, fix #1051
authorZhang Qiang <qiang.z.zhang@intel.com>
Mon, 15 Jul 2013 07:25:32 +0000 (15:25 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Mon, 15 Jul 2013 12:44:36 +0000 (20:44 +0800)
commit4ede4f0093d70bc04a827556a5e03e6a78f75c64
tree382e2f7ae29b107c165f7444469bbedb5ed120c6
parent6b4a366f6eecd82eac0d28e771b8b59e831be059
formalize profile name to build conf, fix #1051

profile name is used to generate build conf, which has some special
format:
  - should not start with digital
  - should not contain '-'

This patch generate well formated build conf file name from profile
name.

Change-Id: Iee69c0abf8316227cbb6e2845ce11bbb2eaf03e3
gitbuildsys/cmd_build.py