Skip to content
Commit 3720c395 authored by Yoann Congal's avatar Yoann Congal Committed by Steve Sakoman
Browse files

npm.bbclass: avoid building target nodejs for native npm recipes



The current recipe unconditionally RDEPENDS on nodejs (the target one).
When building on the "-native recipe" of "BBCLASSEXTEND native" recipe,
the target nodejs is unnecessarily built.

This patch fixes this by only RDEPENDS on nodejs when building for the target.

Signed-off-by: default avatarYoann Congal <yoann.congal@smile.fr>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92a9a86d)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 8382f9c1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment