aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/build.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-31 11:59:33 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-10-31 16:57:36 +1300
commit23804108c42712b9c36a013decb61df057b86b80 (patch)
tree7534bf4d0b2ca94f78de4d4f2335bce7de5b5187 /scripts/lib/devtool/build.py
parentdb4535f66c1485a190a3ee37d4fb00cf664ec93e (diff)
downloadopenembedded-core-contrib-paule/devtool22-oe.tar.gz
openembedded-core-contrib-paule/devtool22-oe.tar.bz2
openembedded-core-contrib-paule/devtool22-oe.zip
devtool: add "rename" subcommandpaule/devtool22-oe
When you run devtool add on a source tree we attempt to figure out the correct name and version for the recipe. However, despite our best efforts, sometimes the name and/or version we come up with isn't correct, and the only way to remedy that up until now was to reset the recipe, delete the source tree and start again, specifying the name this time. To avoid this slightly painful procedure, add a "rename" subcommand that lets you rename the recipe and/or change the version. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'scripts/lib/devtool/build.py')
-rw-r--r--scripts/lib/devtool/build.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py
index 6be549dd59..252379e9b2 100644
--- a/scripts/lib/devtool/build.py
+++ b/scripts/lib/devtool/build.py
@@ -80,7 +80,7 @@ def register_commands(subparsers, context):
"""Register devtool subcommands from this plugin"""
parser_build = subparsers.add_parser('build', help='Build a recipe',
description='Builds the specified recipe using bitbake (up to and including %s)' % ', '.join(_get_build_tasks(context.config)),
- group='working')
+ group='working', order=50)
parser_build.add_argument('recipename', help='Recipe to build')
parser_build.add_argument('-s', '--disable-parallel-make', action="store_true", help='Disable make parallelism')
parser_build.set_defaults(func=build)