summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/standard.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py
index 54558ce799..22a9ec82c9 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -149,6 +149,8 @@ def add(args, config, basepath, workspace):
149 extracmdopts += ' -a' 149 extracmdopts += ' -a'
150 if args.fetch_dev: 150 if args.fetch_dev:
151 extracmdopts += ' --fetch-dev' 151 extracmdopts += ' --fetch-dev'
152 if args.mirrors:
153 extracmdopts += ' --mirrors'
152 154
153 tempdir = tempfile.mkdtemp(prefix='devtool') 155 tempdir = tempfile.mkdtemp(prefix='devtool')
154 try: 156 try:
@@ -1797,6 +1799,7 @@ def register_commands(subparsers, context):
1797 parser_add.add_argument('--binary', '-b', help='Treat the source tree as something that should be installed verbatim (no compilation, same directory structure). Useful with binary packages e.g. RPMs.', action='store_true') 1799 parser_add.add_argument('--binary', '-b', help='Treat the source tree as something that should be installed verbatim (no compilation, same directory structure). Useful with binary packages e.g. RPMs.', action='store_true')
1798 parser_add.add_argument('--also-native', help='Also add native variant (i.e. support building recipe for the build host as well as the target machine)', action='store_true') 1800 parser_add.add_argument('--also-native', help='Also add native variant (i.e. support building recipe for the build host as well as the target machine)', action='store_true')
1799 parser_add.add_argument('--src-subdir', help='Specify subdirectory within source tree to use', metavar='SUBDIR') 1801 parser_add.add_argument('--src-subdir', help='Specify subdirectory within source tree to use', metavar='SUBDIR')
1802 parser_add.add_argument('--mirrors', help='Enable PREMIRRORS and MIRRORS for source tree fetching (disable by default).', action="store_true")
1800 parser_add.set_defaults(func=add, fixed_setup=context.fixed_setup) 1803 parser_add.set_defaults(func=add, fixed_setup=context.fixed_setup)
1801 1804
1802 parser_modify = subparsers.add_parser('modify', help='Modify the source for an existing recipe', 1805 parser_modify = subparsers.add_parser('modify', help='Modify the source for an existing recipe',