nodejs: Build only when meta-py2 is included

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-01-21 22:28:33 -08:00
parent 2b67b882ee
commit 0a4faceed6
2 changed files with 8 additions and 2 deletions
@@ -113,13 +113,14 @@ RDEPENDS_packagegroup-meta-oe-devtools ="\
giflib icon-slicer iptraf-ng jq jsoncpp jsonrpc json-spirit \
kconfig-frontends lemon libedit libgee libsombok3 \
libubox log4cplus lshw ltrace lua mcpp memstat mercurial \
mpich msgpack-c nlohmann-json nodejs openocd pax-utils \
mpich msgpack-c nlohmann-json openocd pax-utils \
ipc-run libdbd-mysql-perl libdbi-perl libio-pty-perl php \
protobuf protobuf-c python3-distutils-extra \
python-cpuset python-distutils-extra python-futures python-pygobject \
rapidjson serialcheck sip3 sip tclap uftrace uw-imap valijson \
xmlrpc-c yajl yasm \
${@bb.utils.contains("DISTRO_FEATURES", "x11", "geany geany-plugins glade tk", "", d)} \
${@bb.utils.contains("BBPATH", "meta-python2", "nodejs", "", d)} \
"
RDEPENDS_packagegroup-meta-oe-devtools_remove_armv5 = "uftrace nodejs"