]> code.ossystems Code Review - openembedded-core.git/commit
npm: add target_arch flag to npm
authorBrendan Le Foll <brendan.le.foll@intel.com>
Tue, 24 May 2016 11:12:16 +0000 (12:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 May 2016 08:30:29 +0000 (09:30 +0100)
commitf402225311e4bbb62ba9781ab274420abaac0fb4
tree9f7cd392f23c11bd1ed4564dc126ab4e845894b4
parent94d80ae33e0671e439c845f25e54aab0ee69843b
npm: add target_arch flag to npm

npm takes a target_arch flag which needs to be set to do some gyp compilations
correctly. It also doesn't use the same mapping as OE for target arch so a
small function is required to make the mapping work. Function is taken from
meta-nodejs

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/npm.bbclass