diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r-- | scripts/lib/devtool/standard.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 05161942b7..908869cc4f 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -1031,6 +1031,8 @@ def modify(args, config, basepath, workspace): | |||
1031 | if branch == args.branch: | 1031 | if branch == args.branch: |
1032 | continue | 1032 | continue |
1033 | f.write('# patches_%s: %s\n' % (branch, ','.join(branch_patches[branch]))) | 1033 | f.write('# patches_%s: %s\n' % (branch, ','.join(branch_patches[branch]))) |
1034 | if args.debug_build: | ||
1035 | f.write('\nDEBUG_BUILD = "1"\n') | ||
1034 | 1036 | ||
1035 | update_unlockedsigs(basepath, workspace, args.fixed_setup, [pn]) | 1037 | update_unlockedsigs(basepath, workspace, args.fixed_setup, [pn]) |
1036 | 1038 | ||
@@ -2396,6 +2398,7 @@ def register_commands(subparsers, context): | |||
2396 | parser_modify.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout (when not using -n/--no-extract) (default "%(default)s")') | 2398 | parser_modify.add_argument('--branch', '-b', default="devtool", help='Name for development branch to checkout (when not using -n/--no-extract) (default "%(default)s")') |
2397 | parser_modify.add_argument('--no-overrides', '-O', action="store_true", help='Do not create branches for other override configurations') | 2399 | parser_modify.add_argument('--no-overrides', '-O', action="store_true", help='Do not create branches for other override configurations') |
2398 | parser_modify.add_argument('--keep-temp', help='Keep temporary directory (for debugging)', action="store_true") | 2400 | parser_modify.add_argument('--keep-temp', help='Keep temporary directory (for debugging)', action="store_true") |
2401 | parser_modify.add_argument('--debug-build', action="store_true", help='Add DEBUG_BUILD = "1" to the modified recipe') | ||
2399 | parser_modify.set_defaults(func=modify, fixed_setup=context.fixed_setup) | 2402 | parser_modify.set_defaults(func=modify, fixed_setup=context.fixed_setup) |
2400 | 2403 | ||
2401 | parser_extract = subparsers.add_parser('extract', help='Extract the source for an existing recipe', | 2404 | parser_extract = subparsers.add_parser('extract', help='Extract the source for an existing recipe', |