diff options
| author | Yoann Congal <yoann.congal@smile.fr> | 2021-02-09 16:53:46 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-10 00:24:25 +0000 |
| commit | aadac9ddbfadeda2e8aac3eb9b88b113b5aff02e (patch) | |
| tree | dc1a8010e1f0d3569d60ca9a2d6ed2a215c027ba /scripts/lib/devtool/export.py | |
| parent | 4e4523aae48771db83e4b9e3296bff8e16eb082e (diff) | |
| download | poky-aadac9ddbfadeda2e8aac3eb9b88b113b5aff02e.tar.gz | |
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.
(From OE-Core rev: cb7eb2d449a2eb72bbef7b30cf7431f0483f0d83)
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 92a9a86df9e3bcffb13d2f8b5dcbe7822170f734)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/export.py')
0 files changed, 0 insertions, 0 deletions
