]> code.ossystems Code Review - openembedded-core.git/commit
classes/npm: use the local node headers
authorJean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Fri, 24 Jan 2020 17:07:33 +0000 (18:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commite4c111dacc808d8c7883f3a36dd5a9f65e7a44cc
tree9e8b96dac42fa9b24730ddbf8f0fe8375727e803
parent1133f3ab485031df6e107f826b7398e5133f9c4d
classes/npm: use the local node headers

When building addons, the node headers are needed to be able to compile
properly. Usually they are downloaded by npm but network access in the
do_compile task are unauthorized. Hopefully the local node headers are
available in the native sysroot so lets use them.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/npm.bbclass