poky/scripts/lib/recipetool
Paul Eggleton 0d72748e81 recipetool: create: refactor code for ensuring npm is available
Across devtool and recipetool we had an ugly set of code for ensuring
that we can call an npm binary, and much of that ugliness was a result
of not being able to run build tasks when tinfoil was active - if
recipetool found that npm was required and we didn't know beforehand
(e.g. we're fetching from a plain git repository as opposed to an npm://
URL where it's obvious) then it had to exit and return a special result
code, so that devtool knew it needed to build nodejs-native and then
call recipetool again. Now that we are using real build tasks to fetch
and unpack, we can drop most of this and move the code to the one place
where it's still needed (i.e. create_npm where we potentially have to
deal with node.js code in a plain source repository).

(From OE-Core rev: 8450de16ddb02d863204b411a94c6d84e0f88817)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-21 08:44:25 +01:00
..
__init__.py scripts/recipetool: Add a recipe auto-creation script 2014-12-23 10:18:15 +00:00
append.py scripts: remove True option to getVarFlag calls 2016-12-16 10:23:23 +00:00
create_buildsys_python.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
create_buildsys.py recipetool: create: skip values extracted from spec files containing macros 2017-05-23 17:45:36 +01:00
create_kernel.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
create_kmod.py recipetool: create: avoid decoding errors with Python 3 2016-07-08 09:57:24 +01:00
create_npm.py recipetool: create: refactor code for ensuring npm is available 2017-07-21 08:44:25 +01:00
create.py recipetool: create: refactor code for ensuring npm is available 2017-07-21 08:44:25 +01:00
newappend.py scripts: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
setvar.py devtool / recipetool: use tinfoil parsing API 2016-12-14 12:30:49 +00:00