summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-09-19 08:08:09 +1200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-09-20 15:11:07 +0100
commit198c6d52c4b5813c1b0f365a51e9869e53917a07 (patch)
tree34da090cd21510032c33a98b26a83b953dbdb681 /scripts/lib
parent1370edb4490ea9041f9264ed104da4a82e340c3f (diff)
downloadpoky-198c6d52c4b5813c1b0f365a51e9869e53917a07.tar.gz
recipetool: create: pick up AC_PROG_SWIG
AX_PKG_SWIG is not the only commonly-used macro for detecting swig - there's also AC_PROG_SWIG. As per AX_PKG_SWIG, add swig-native to DEPENDS if AC_PROG_SWIG is found in configure.ac. (From OE-Core rev: 847a1aa7153fc8a7b820353283a6f1e51d64f8de) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/recipetool/create_buildsys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py
index 067be18c13..e914e53aab 100644
--- a/scripts/lib/recipetool/create_buildsys.py
+++ b/scripts/lib/recipetool/create_buildsys.py
@@ -571,7 +571,7 @@ class AutotoolsRecipeHandler(RecipeHandler):
571 deps.append('sqlite3') 571 deps.append('sqlite3')
572 elif keyword == 'AX_LIB_TAGLIB': 572 elif keyword == 'AX_LIB_TAGLIB':
573 deps.append('taglib') 573 deps.append('taglib')
574 elif keyword == 'AX_PKG_SWIG': 574 elif keyword in ['AX_PKG_SWIG', 'AC_PROG_SWIG']:
575 deps.append('swig-native') 575 deps.append('swig-native')
576 elif keyword == 'AX_PROG_XSLTPROC': 576 elif keyword == 'AX_PROG_XSLTPROC':
577 deps.append('libxslt-native') 577 deps.append('libxslt-native')
@@ -651,6 +651,7 @@ class AutotoolsRecipeHandler(RecipeHandler):
651 'AX_LIB_SQLITE3', 651 'AX_LIB_SQLITE3',
652 'AX_LIB_TAGLIB', 652 'AX_LIB_TAGLIB',
653 'AX_PKG_SWIG', 653 'AX_PKG_SWIG',
654 'AC_PROG_SWIG',
654 'AX_PROG_XSLTPROC', 655 'AX_PROG_XSLTPROC',
655 'AC_PYTHON_DEVEL', 656 'AC_PYTHON_DEVEL',
656 'AX_PYTHON_DEVEL', 657 'AX_PYTHON_DEVEL',