summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/standard.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-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 ad6e346279..16ea328c6a 100644
--- a/scripts/lib/devtool/standard.py
+++ b/scripts/lib/devtool/standard.py
@@ -147,6 +147,8 @@ def add(args, config, basepath, workspace):
147 extracmdopts += ' -a' 147 extracmdopts += ' -a'
148 if args.npm_dev: 148 if args.npm_dev:
149 extracmdopts += ' --npm-dev' 149 extracmdopts += ' --npm-dev'
150 if args.no_pypi:
151 extracmdopts += ' --no-pypi'
150 if args.mirrors: 152 if args.mirrors:
151 extracmdopts += ' --mirrors' 153 extracmdopts += ' --mirrors'
152 if args.srcrev: 154 if args.srcrev:
@@ -2328,6 +2330,7 @@ def register_commands(subparsers, context):
2328 group.add_argument('--no-same-dir', help='Force build in a separate build directory', action="store_true") 2330 group.add_argument('--no-same-dir', help='Force build in a separate build directory', action="store_true")
2329 parser_add.add_argument('--fetch', '-f', help='Fetch the specified URI and extract it to create the source tree (deprecated - pass as positional argument instead)', metavar='URI') 2331 parser_add.add_argument('--fetch', '-f', help='Fetch the specified URI and extract it to create the source tree (deprecated - pass as positional argument instead)', metavar='URI')
2330 parser_add.add_argument('--npm-dev', help='For npm, also fetch devDependencies', action="store_true") 2332 parser_add.add_argument('--npm-dev', help='For npm, also fetch devDependencies', action="store_true")
2333 parser_add.add_argument('--no-pypi', help='Do not inherit pypi class', action="store_true")
2331 parser_add.add_argument('--version', '-V', help='Version to use within recipe (PV)') 2334 parser_add.add_argument('--version', '-V', help='Version to use within recipe (PV)')
2332 parser_add.add_argument('--no-git', '-g', help='If fetching source, do not set up source tree as a git repository', action="store_true") 2335 parser_add.add_argument('--no-git', '-g', help='If fetching source, do not set up source tree as a git repository', action="store_true")
2333 group = parser_add.add_mutually_exclusive_group() 2336 group = parser_add.add_mutually_exclusive_group()