summaryrefslogtreecommitdiffstats
path: root/meta/classes/npm.bbclass
diff options
context:
space:
mode:
authorHenry Bruce <henry.bruce@intel.com>2016-08-10 16:26:37 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 10:35:41 +0100
commitcaaff71f97ff7595d256d6b63f3400eee90f3a7b (patch)
tree4779904097e7b765e2ec285e8a7a619dfff29368 /meta/classes/npm.bbclass
parent322435b890577aab115a2c020303eef2077b826e (diff)
downloadpoky-caaff71f97ff7595d256d6b63f3400eee90f3a7b.tar.gz
npm: npm.bbclass now adds nodejs to RDEPENDS
We expect that any package that uses the npm bbclass will have a runtime dependency on node.js (From OE-Core rev: 769fae0b74d7c7992aa593907f446fab98ef5128) Signed-off-by: Henry Bruce <henry.bruce@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/npm.bbclass')
-rw-r--r--meta/classes/npm.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
index 95be7518a8..55c7c3e278 100644
--- a/meta/classes/npm.bbclass
+++ b/meta/classes/npm.bbclass
@@ -1,4 +1,5 @@
1DEPENDS_prepend = "nodejs-native " 1DEPENDS_prepend = "nodejs-native "
2RDEPENDS_${PN}_prepend = "nodejs "
2S = "${WORKDIR}/npmpkg" 3S = "${WORKDIR}/npmpkg"
3 4
4NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}" 5NPM_INSTALLDIR = "${D}${libdir}/node_modules/${PN}"