mirror of https://github.com/ARMmbed/mbed-os.git
Improve naming of the command line option which select the c library to use.
* rename 'small-build' into 'small-lib' * rename 'standard-build' into 'std-lib'pull/2409/head
parent
afde624a26
commit
73a925810c
|
@ -76,8 +76,8 @@ def get_default_options_parser(add_clean=True, add_options=True):
|
||||||
type=argparse_lowercase_hyphen_type(['save-asm',
|
type=argparse_lowercase_hyphen_type(['save-asm',
|
||||||
'debug-info',
|
'debug-info',
|
||||||
'analyze',
|
'analyze',
|
||||||
'small-build',
|
'small-lib',
|
||||||
'standard-build'],
|
'std-lib'],
|
||||||
"build option"))
|
"build option"))
|
||||||
|
|
||||||
return parser
|
return parser
|
||||||
|
|
|
@ -273,9 +273,9 @@ class GCC_ARM(GCC):
|
||||||
GCC.__init__(self, target, options, notify, macros, silent, TOOLCHAIN_PATHS['GCC_ARM'], extra_verbose=extra_verbose)
|
GCC.__init__(self, target, options, notify, macros, silent, TOOLCHAIN_PATHS['GCC_ARM'], extra_verbose=extra_verbose)
|
||||||
|
|
||||||
# Use latest gcc nanolib
|
# Use latest gcc nanolib
|
||||||
if "standard-build" in self.options:
|
if "std-lib" in self.options:
|
||||||
use_nano = False
|
use_nano = False
|
||||||
elif "small-build" in self.options:
|
elif "small-lib" in self.options:
|
||||||
use_nano = True
|
use_nano = True
|
||||||
elif target.default_build == "standard":
|
elif target.default_build == "standard":
|
||||||
use_nano = False
|
use_nano = False
|
||||||
|
|
Loading…
Reference in New Issue