mirror of
https://git.yoctoproject.org/poky
synced 2026-04-14 17:02:22 +02:00
npm.bbclass: allow overriding NPM_INSTALL_DEV
Commit b1f10b18ea 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>
This commit is contained in:
committed by
Richard Purdie
parent
e9270af429
commit
3a184fdfa2
@@ -22,7 +22,7 @@ def npm_oe_arch_map(target_arch, d):
|
||||
return target_arch
|
||||
|
||||
NPM_ARCH ?= "${@npm_oe_arch_map(d.getVar('TARGET_ARCH'), d)}"
|
||||
NPM_INSTALL_DEV = "0"
|
||||
NPM_INSTALL_DEV ?= "0"
|
||||
|
||||
npm_do_compile() {
|
||||
# Copy in any additionally fetched modules
|
||||
|
||||
Reference in New Issue
Block a user