diff options
Diffstat (limited to 'scripts/lib/recipetool/create.py')
-rw-r--r-- | scripts/lib/recipetool/create.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 439dca0fcc..5af58a12f7 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py | |||
@@ -59,6 +59,9 @@ class RecipeHandler(object): | |||
59 | recipecmakefilemap = {} | 59 | recipecmakefilemap = {} |
60 | recipebinmap = {} | 60 | recipebinmap = {} |
61 | 61 | ||
62 | def __init__(self): | ||
63 | self._devtool = False | ||
64 | |||
62 | @staticmethod | 65 | @staticmethod |
63 | def load_libmap(d): | 66 | def load_libmap(d): |
64 | '''Load library->recipe mapping''' | 67 | '''Load library->recipe mapping''' |
@@ -622,6 +625,7 @@ def create_recipe(args): | |||
622 | handlers.sort(key=lambda item: (item[1], -item[2]), reverse=True) | 625 | handlers.sort(key=lambda item: (item[1], -item[2]), reverse=True) |
623 | for handler, priority, _ in handlers: | 626 | for handler, priority, _ in handlers: |
624 | logger.debug('Handler: %s (priority %d)' % (handler.__class__.__name__, priority)) | 627 | logger.debug('Handler: %s (priority %d)' % (handler.__class__.__name__, priority)) |
628 | setattr(handler, '_devtool', args.devtool) | ||
625 | handlers = [item[0] for item in handlers] | 629 | handlers = [item[0] for item in handlers] |
626 | 630 | ||
627 | # Apply the handlers | 631 | # Apply the handlers |