]> code.ossystems Code Review - openembedded-core.git/commitdiff
base: Add nodejs-native dependency for npm:// urls
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 26 Feb 2016 17:53:04 +0000 (17:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:27:08 +0000 (11:27 +0000)
With the addition of the npm fetcher, we add the native dependency
handling too.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass

index 1372f38461ef2fd71629a1c3f5eae939d47c332b..e066dc986f771302498ffefbef17884cd2e3c3ee 100644 (file)
@@ -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')