diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-12-22 17:03:02 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-22 16:44:03 +0000 |
commit | 3b3fd33190d89c09e62126eea0e45aa84fe5442e (patch) | |
tree | 7d0796c7f3e0ab0478d54e14136ed921e7b0f6b4 /scripts/lib/recipetool/create_buildsys_python.py | |
parent | 0219d4fb9cefcee635387b46fc1d215f82753d92 (diff) | |
download | openembedded-core-3b3fd33190d89c09e62126eea0e45aa84fe5442e.tar.gz openembedded-core-3b3fd33190d89c09e62126eea0e45aa84fe5442e.tar.bz2 openembedded-core-3b3fd33190d89c09e62126eea0e45aa84fe5442e.zip |
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.
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 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): def __init__(self): pass - def process(self, srctree, classes, lines_before, lines_after, handled): + def process(self, srctree, classes, lines_before, lines_after, handled, extravalues): if 'buildsystem' in handled: return False |