Change-Id: Iea2b60d7498f08f78a8887e1b1eacdcdaf3ebd9c
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
if args.profiling:
cmd_opts += ['--profiling=%s' % args.profiling]
+ if args.release:
+ cmd_opts += ['--release=%s' % args.release]
+
cmd_opts += ['--threads=%s' % args.threads]
if args.kvm:
loopdev = len([name for name in os.listdir('/dev') if bool(re.search("loop[0-9]",name))])
help='Profiling report location to be used package ordering.')
group.add_argument('--with-submodules', action='store_true',
help='build project with submodules togerther')
+ group.add_argument('--release', type=str,
+ help='Override Release in spec file')
parser.set_defaults(alias="lb")
return parser