diff options
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
-rw-r--r-- | scripts/lib/devtool/upgrade.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 3cb523c2f4..f6141bfdc3 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py | |||
@@ -474,7 +474,7 @@ def upgrade(args, config, basepath, workspace): | |||
474 | rf = None | 474 | rf = None |
475 | try: | 475 | try: |
476 | logger.info('Extracting current version source...') | 476 | logger.info('Extracting current version source...') |
477 | rev1, srcsubdir1 = standard._extract_source(srctree, False, 'devtool-orig', False, config, basepath, workspace, args.fixed_setup, rd, tinfoil) | 477 | rev1, srcsubdir1 = standard._extract_source(srctree, False, 'devtool-orig', False, config, basepath, workspace, args.fixed_setup, rd, tinfoil, no_overrides=args.no_overrides) |
478 | logger.info('Extracting upgraded version source...') | 478 | logger.info('Extracting upgraded version source...') |
479 | rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch, | 479 | rev2, md5, sha256, srcbranch, srcsubdir2 = _extract_new_source(args.version, srctree, args.no_patch, |
480 | args.srcrev, args.srcbranch, args.branch, args.keep_temp, | 480 | args.srcrev, args.srcbranch, args.branch, args.keep_temp, |
@@ -513,6 +513,7 @@ def register_commands(subparsers, context): | |||
513 | parser_upgrade.add_argument('--srcbranch', '-B', help='Branch in source repository containing the revision to use (if fetching from an SCM such as git)') | 513 | parser_upgrade.add_argument('--srcbranch', '-B', help='Branch in source repository containing the revision to use (if fetching from an SCM such as git)') |
514 | parser_upgrade.add_argument('--branch', '-b', default="devtool", help='Name for new development branch to checkout (default "%(default)s")') | 514 | parser_upgrade.add_argument('--branch', '-b', default="devtool", help='Name for new development branch to checkout (default "%(default)s")') |
515 | parser_upgrade.add_argument('--no-patch', action="store_true", help='Do not apply patches from the recipe to the new source code') | 515 | parser_upgrade.add_argument('--no-patch', action="store_true", help='Do not apply patches from the recipe to the new source code') |
516 | parser_upgrade.add_argument('--no-overrides', '-O', action="store_true", help='Do not create branches for other override configurations') | ||
516 | group = parser_upgrade.add_mutually_exclusive_group() | 517 | group = parser_upgrade.add_mutually_exclusive_group() |
517 | group.add_argument('--same-dir', '-s', help='Build in same directory as source', action="store_true") | 518 | group.add_argument('--same-dir', '-s', help='Build in same directory as source', action="store_true") |
518 | group.add_argument('--no-same-dir', help='Force build in a separate build directory', action="store_true") | 519 | group.add_argument('--no-same-dir', help='Force build in a separate build directory', action="store_true") |