diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
| -rw-r--r-- | scripts/lib/devtool/standard.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 1e84ae413f..34525b495b 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
| @@ -791,7 +791,7 @@ def modify(args, config, basepath, workspace): | |||
| 791 | initial_rev = None | 791 | initial_rev = None |
| 792 | commits = [] | 792 | commits = [] |
| 793 | if not args.no_extract: | 793 | if not args.no_extract: |
| 794 | initial_rev = _extract_source(srctree, False, args.branch, False, rd, tinfoil) | 794 | initial_rev = _extract_source(srctree, args.keep_temp, args.branch, False, rd, tinfoil) |
| 795 | if not initial_rev: | 795 | if not initial_rev: |
| 796 | return 1 | 796 | return 1 |
| 797 | logger.info('Source tree extracted to %s' % srctree) | 797 | logger.info('Source tree extracted to %s' % srctree) |
| @@ -1851,6 +1851,7 @@ def register_commands(subparsers, context): | |||
| 1851 | group.add_argument('--same-dir', '-s', help='Build in same directory as source', action="store_true") | 1851 | group.add_argument('--same-dir', '-s', help='Build in same directory as source', action="store_true") |
| 1852 | group.add_argument('--no-same-dir', help='Force build in a separate build directory', action="store_true") | 1852 | group.add_argument('--no-same-dir', help='Force build in a separate build directory', action="store_true") |
| 1853 | parser_modify.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout (when not using -n/--no-extract) (default "%(default)s")') | 1853 | parser_modify.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout (when not using -n/--no-extract) (default "%(default)s")') |
| 1854 | parser_modify.add_argument('--keep-temp', help='Keep temporary directory (for debugging)', action="store_true") | ||
| 1854 | parser_modify.set_defaults(func=modify) | 1855 | parser_modify.set_defaults(func=modify) |
| 1855 | 1856 | ||
| 1856 | parser_extract = subparsers.add_parser('extract', help='Extract the source for an existing recipe', | 1857 | parser_extract = subparsers.add_parser('extract', help='Extract the source for an existing recipe', |
