summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJef Driesen <jef.driesen@niko.eu>2018-10-23 13:43:24 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-25 14:53:44 +0100
commit3a184fdfa2c0766e8873ce9a7e65ad70c40c8efd (patch)
treee17591337e6a8af65f8a165590cf849b6cafb800
parente9270af4296ce2af292059617a717e42fc17425c (diff)
downloadpoky-3a184fdfa2c0766e8873ce9a7e65ad70c40c8efd.tar.gz
npm.bbclass: allow overriding NPM_INSTALL_DEV
Commit b1f10b18eaf6c8009e86863ca4a26f429de97082 added the NPM_INSTALL_DEV variable. But due to the use of simple assignment, a recipe can't override its value. (From OE-Core rev: b53d5094d5e05f9c1955c8565d777ad74f668f7e) Signed-off-by: Jef Driesen <jef.driesen@niko.eu> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/npm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/npm.bbclass b/meta/classes/npm.bbclass
index 30febcffb2..6dbae6bc79 100644
--- a/meta/classes/npm.bbclass
+++ b/meta/classes/npm.bbclass
@@ -22,7 +22,7 @@ def npm_oe_arch_map(target_arch, d):
22 return target_arch 22 return target_arch
23 23
24NPM_ARCH ?= "${@npm_oe_arch_map(d.getVar('TARGET_ARCH'), d)}" 24NPM_ARCH ?= "${@npm_oe_arch_map(d.getVar('TARGET_ARCH'), d)}"
25NPM_INSTALL_DEV = "0" 25NPM_INSTALL_DEV ?= "0"
26 26
27npm_do_compile() { 27npm_do_compile() {
28 # Copy in any additionally fetched modules 28 # Copy in any additionally fetched modules