summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-12-22 17:03:02 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-28 09:25:13 +0000
commitdb5f9645ad3ffb4e9be7075d71cb1b13341f5195 (patch)
tree3c4bfcfc698840c310d069f26b57863fde877528 /scripts/lib/recipetool/create_buildsys_python.py
parent6a7661b8005fadad10bde494131e27406e1e45b8 (diff)
downloadpoky-db5f9645ad3ffb4e9be7075d71cb1b13341f5195.tar.gz
recipetool: create: support extracting name and version from build scripts
Some build systems (notably autotools) support declaring the name and version of the program being built; since we need those for the recipe we can attempt to extract them. It's a little fuzzy as they are often omitted or may not be appropriately formatted for our purposes, but it does work on a reasonable number of software packages to be useful. (From OE-Core rev: 3b3fd33190d89c09e62126eea0e45aa84fe5442e) 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 266c423547..4d65c962b6 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -159,7 +159,7 @@ class PythonRecipeHandler(RecipeHandler):
159 def __init__(self): 159 def __init__(self):
160 pass 160 pass
161 161
162 def process(self, srctree, classes, lines_before, lines_after, handled): 162 def process(self, srctree, classes, lines_before, lines_after, handled, extravalues):
163 if 'buildsystem' in handled: 163 if 'buildsystem' in handled:
164 return False 164 return False
165 165