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
Vincent Coubard 2016-08-17 11:42:10 +01:00
parent afde624a26
commit 73a925810c
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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