diff options
Diffstat (limited to 'scripts/lib/devtool/__init__.py')
| -rw-r--r-- | scripts/lib/devtool/__init__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/lib/devtool/__init__.py b/scripts/lib/devtool/__init__.py index 9ec1ef6817..ea0b63e767 100644 --- a/scripts/lib/devtool/__init__.py +++ b/scripts/lib/devtool/__init__.py | |||
| @@ -25,6 +25,12 @@ import logging | |||
| 25 | 25 | ||
| 26 | logger = logging.getLogger('devtool') | 26 | logger = logging.getLogger('devtool') |
| 27 | 27 | ||
| 28 | |||
| 29 | class DevtoolError(Exception): | ||
| 30 | """Exception for handling devtool errors""" | ||
| 31 | pass | ||
| 32 | |||
| 33 | |||
| 28 | def exec_build_env_command(init_path, builddir, cmd, watch=False, **options): | 34 | def exec_build_env_command(init_path, builddir, cmd, watch=False, **options): |
| 29 | """Run a program in bitbake build context""" | 35 | """Run a program in bitbake build context""" |
| 30 | import bb | 36 | import bb |
