]> code.ossystems Code Review - openembedded-core.git/commit
npm.bbclass: Allow nodedir to be overridden by NPM_NODEDIR
authorMike Crowe <mac@mcrowe.com>
Thu, 13 May 2021 14:25:03 +0000 (15:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 May 2021 06:57:21 +0000 (07:57 +0100)
commit14795ee305f3c11fcc31cc7ca815b8ff1020e29a
tree0f89288c82090811bd1243acd4c5e543973fc4ae
parentb6257f3b88e788af3ee748a8a6366aab819dce3f
npm.bbclass: Allow nodedir to be overridden by NPM_NODEDIR

Node modules may need to be built against multiple Node
versions. Setting nodedir in the NPM configuration stops older ways of
doing this, such as setting npm_config_target and npm_config_disturl,
from working.

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/npm.bbclass