summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-02-19 22:39:01 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-21 09:32:43 +0000
commit7b6e5b025e2ba8a91be01d61f7b9093f4729e8cc (patch)
treeabd08b740a3097191827340b639b16722088bbf8 /scripts/lib/recipetool/create_buildsys_python.py
parentb2d44729e9c3c600203c89eaa92bda264121780d (diff)
downloadpoky-7b6e5b025e2ba8a91be01d61f7b9093f4729e8cc.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__) (From OE-Core rev: 915dea9f89cd737e5ba167c384e8d314c5c23c49) 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.py2
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):
716 716
717def register_recipe_handlers(handlers): 717def register_recipe_handlers(handlers):
718 # We need to make sure this is ahead of the makefile fallback handler 718 # We need to make sure this is ahead of the makefile fallback handler
719 handlers.insert(0, PythonRecipeHandler()) 719 handlers.append((PythonRecipeHandler(), 70))