DRAFT mcf: Correct/improve messages (v7.1.1)

This commit is contained in:
Herb Kuta 2019-05-30 23:22:29 -07:00
parent d8c8c9d4e8
commit ff1ee44794
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
# Copyright (c) 2008-2017 LG Electronics, Inc. # Copyright (c) 2008-2019 LG Electronics, Inc.
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -28,7 +28,7 @@ import glob
import importlib.util import importlib.util
import importlib.machinery import importlib.machinery
__version__ = "7.1.0 __version__ = "7.1.1"
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
@ -134,10 +134,10 @@ def getopts(bblayers_only):
variations = parser.add_argument_group('Build Instructions') variations = parser.add_argument_group('Build Instructions')
variations.add_argument('-p', '--enable-parallel-make', dest='parallel_make', type=int, default=0, variations.add_argument('-p', '--enable-parallel-make', dest='parallel_make', type=int, default=0,
help='maximum number of parallel tasks each submake of bitbake should spawn (default: 0 = 2x the number of processor cores)') help='maximum number of parallel tasks each submake of bitbake should spawn (default: 0 means 2x the number of processor cores)')
variations.add_argument('-b', '--enable-bb-number-threads', dest='bb_number_threads', type=int, default=0, variations.add_argument('-b', '--enable-bb-number-threads', dest='bb_number_threads', type=int, default=0,
help='maximum number of bitbake tasks to spawn (default: 0 = 2x the number of processor cores))') help='maximum number of bitbake tasks to spawn (default: 0 means 2x the number of processor cores))')
icecc = parser.add_argument_group('ICECC Configuration') icecc = parser.add_argument_group('ICECC Configuration')
@ -508,7 +508,7 @@ def write_bblayers_conf(sourcedir, append):
pass pass
def update_layers(sourcedir): def update_layers(sourcedir):
logger.info('MCF-%s: Updating build directory' % __version__) logger.info('MCF-%s: Updating layers' % __version__)
layers_sanity = list() layers_sanity = list()
update_location = list() update_location = list()
for layer in sorted(LAYERS.values(), key=lambda l: l["priority"]): for layer in sorted(LAYERS.values(), key=lambda l: l["priority"]):