mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #63 from bridadan/set-project-name-option
Allow the output binary of make.py to be named from the command line
commit
b337c7fd00
|
@ -99,6 +99,8 @@ if __name__ == '__main__':
|
||||||
default=None, help="Duration of the test")
|
default=None, help="Duration of the test")
|
||||||
parser.add_option("--build", dest="build_dir",
|
parser.add_option("--build", dest="build_dir",
|
||||||
default=None, help="The build (output) directory")
|
default=None, help="The build (output) directory")
|
||||||
|
parser.add_option("-N", "--artifact-name", dest="artifact_name",
|
||||||
|
default=None, help="The built project's name")
|
||||||
parser.add_option("-d", "--disk", dest="disk",
|
parser.add_option("-d", "--disk", dest="disk",
|
||||||
default=None, help="The mbed disk")
|
default=None, help="The mbed disk")
|
||||||
parser.add_option("-s", "--serial", dest="serial",
|
parser.add_option("-s", "--serial", dest="serial",
|
||||||
|
@ -253,7 +255,8 @@ if __name__ == '__main__':
|
||||||
verbose=options.verbose,
|
verbose=options.verbose,
|
||||||
silent=options.silent,
|
silent=options.silent,
|
||||||
macros=options.macros,
|
macros=options.macros,
|
||||||
jobs=options.jobs)
|
jobs=options.jobs,
|
||||||
|
name=options.artifact_name)
|
||||||
print 'Image: %s'% bin_file
|
print 'Image: %s'% bin_file
|
||||||
|
|
||||||
if options.disk:
|
if options.disk:
|
||||||
|
|
Loading…
Reference in New Issue