aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-26 17:53:04 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:27:08 +0000
commit500c432419739e2be247d6feea3f4d85eb7ddfd0 (patch)
tree1b381a7b11ee8d40b3b662eb2a22e7119ae696df /meta/classes/base.bbclass
parentc413164c03bdce38f41e63ad2a27dc6108521b9a (diff)
downloadopenembedded-core-contrib-500c432419739e2be247d6feea3f4d85eb7ddfd0.tar.gz
base: Add nodejs-native dependency for npm:// urls
With the addition of the npm fetcher, we add the native dependency handling too. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 1372f38461..e066dc986f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -577,6 +577,9 @@ python () {
elif scheme == "osc":
d.appendVarFlag('do_fetch', 'depends', ' osc-native:do_populate_sysroot')
+ elif scheme == "npm":
+ d.appendVarFlag('do_fetch', 'depends', ' nodejs-native:do_populate_sysroot')
+
# *.lz4 should DEPEND on lz4-native for unpacking
if path.endswith('.lz4'):
d.appendVarFlag('do_unpack', 'depends', ' lz4-native:do_populate_sysroot')