summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-01-19 00:18:27 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 17:24:49 +0000
commita66f4ac08601d8cc0b5610345a122c0df76cbc39 (patch)
tree6ad146682d41951271f5f778c05b63642f9d329c /scripts/lib/recipetool
parentdbe91a3d6aebb09d2618a955d09bcbd8ee2baff2 (diff)
downloadpoky-a66f4ac08601d8cc0b5610345a122c0df76cbc39.tar.gz
recipetool: create: pick up boost macros in configure.ac
The presence of BOOST_REQUIRE or AX_BOOST.* indicates that boost is a dependency. (From OE-Core rev: 02570b1fc31c7f4e9643aea8365806089622c0e7) 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')
-rw-r--r--scripts/lib/recipetool/create_buildsys.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/recipetool/create_buildsys.py b/scripts/lib/recipetool/create_buildsys.py
index 7fedb2a917..544dae32db 100644
--- a/scripts/lib/recipetool/create_buildsys.py
+++ b/scripts/lib/recipetool/create_buildsys.py
@@ -294,6 +294,8 @@ class AutotoolsRecipeHandler(RecipeHandler):
294 unmappedlibs.append(lib) 294 unmappedlibs.append(lib)
295 elif keyword == 'AC_PATH_X': 295 elif keyword == 'AC_PATH_X':
296 deps.append('libx11') 296 deps.append('libx11')
297 elif keyword in ('AX_BOOST', 'BOOST_REQUIRE'):
298 deps.append('boost')
297 elif keyword == 'AC_INIT': 299 elif keyword == 'AC_INIT':
298 if extravalues is not None: 300 if extravalues is not None:
299 res = ac_init_re.match(value) 301 res = ac_init_re.match(value)
@@ -332,6 +334,8 @@ class AutotoolsRecipeHandler(RecipeHandler):
332 'AC_PATH_PROG', 334 'AC_PATH_PROG',
333 'AC_CHECK_LIB', 335 'AC_CHECK_LIB',
334 'AC_PATH_X', 336 'AC_PATH_X',
337 'AX_BOOST',
338 'BOOST_REQUIRE',
335 'AC_INIT', 339 'AC_INIT',
336 'AM_INIT_AUTOMAKE', 340 'AM_INIT_AUTOMAKE',
337 'define(', 341 'define(',