diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-02-19 22:39:01 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-21 09:32:00 +0000 |
commit | 915dea9f89cd737e5ba167c384e8d314c5c23c49 (patch) | |
tree | a37de7a1768b79220435f52d6b57af0345d4ae3a /scripts/lib/recipetool/create_buildsys_python.py | |
parent | 13409a2b899bb74b8060c840b8c7ef8759d099cb (diff) | |
download | openembedded-core-contrib-915dea9f89cd737e5ba167c384e8d314c5c23c49.tar.gz |
recipetool: create: add additional extension mechanisms
Add a means of extending the dependency extraction for autotools and
cmake.
Note: in order to have this work, you need to have an __init__.py in the
lib/recipetool directory within your layer along with the module
implementing the handlers, and the __init__.py needs to contain:
# Enable other layers to have modules in the same named directory
from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
-rw-r--r-- | scripts/lib/recipetool/create_buildsys_python.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py index 4d65c962b6..c3823307a4 100644 --- a/scripts/lib/recipetool/create_buildsys_python.py +++ b/scripts/lib/recipetool/create_buildsys_python.py @@ -716,4 +716,4 @@ def has_non_literals(value): def register_recipe_handlers(handlers): # We need to make sure this is ahead of the makefile fallback handler - handlers.insert(0, PythonRecipeHandler()) + handlers.append((PythonRecipeHandler(), 70)) |