diff options
Diffstat (limited to 'scripts/lib/devtool/standard.py')
-rw-r--r-- | scripts/lib/devtool/standard.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 8e4c7f7b13..b6e532bcd3 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py | |||
@@ -30,7 +30,7 @@ import errno | |||
30 | import glob | 30 | import glob |
31 | import filecmp | 31 | import filecmp |
32 | from collections import OrderedDict | 32 | from collections import OrderedDict |
33 | from devtool import exec_build_env_command, setup_tinfoil, check_workspace_recipe, use_external_build, setup_git_repo, recipe_to_append, get_bbclassextend_targets, update_unlockedsigs, DevtoolError | 33 | from devtool import exec_build_env_command, setup_tinfoil, check_workspace_recipe, use_external_build, setup_git_repo, recipe_to_append, get_bbclassextend_targets, update_unlockedsigs, check_prerelease_version, DevtoolError |
34 | from devtool import parse_recipe | 34 | from devtool import parse_recipe |
35 | 35 | ||
36 | logger = logging.getLogger('devtool') | 36 | logger = logging.getLogger('devtool') |
@@ -298,6 +298,8 @@ def add(args, config, basepath, workspace): | |||
298 | 298 | ||
299 | _add_md5(config, recipename, appendfile) | 299 | _add_md5(config, recipename, appendfile) |
300 | 300 | ||
301 | check_prerelease_version(rd.getVar('PV'), 'devtool add') | ||
302 | |||
301 | logger.info('Recipe %s has been automatically created; further editing may be required to make it fully functional' % recipefile) | 303 | logger.info('Recipe %s has been automatically created; further editing may be required to make it fully functional' % recipefile) |
302 | 304 | ||
303 | finally: | 305 | finally: |