Skip to content

Commit 73a9258

Browse files
committed
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'
1 parent afde624 commit 73a9258

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tools/options.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def get_default_options_parser(add_clean=True, add_options=True):
7676
type=argparse_lowercase_hyphen_type(['save-asm',
7777
'debug-info',
7878
'analyze',
79-
'small-build',
80-
'standard-build'],
79+
'small-lib',
80+
'std-lib'],
8181
"build option"))
8282

8383
return parser

tools/toolchains/gcc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ def __init__(self, target, options=None, notify=None, macros=None, silent=False,
273273
GCC.__init__(self, target, options, notify, macros, silent, TOOLCHAIN_PATHS['GCC_ARM'], extra_verbose=extra_verbose)
274274

275275
# Use latest gcc nanolib
276-
if "standard-build" in self.options:
276+
if "std-lib" in self.options:
277277
use_nano = False
278-
elif "small-build" in self.options:
278+
elif "small-lib" in self.options:
279279
use_nano = True
280280
elif target.default_build == "standard":
281281
use_nano = False

0 commit comments

Comments
 (0)