open-vm-tools: only build if meta-networking and meta-filesystems is available

libdnet - meta-networking
fuse - meta-filesystems

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
This commit is contained in:
Mark Hatle
2017-09-05 16:35:08 -05:00
committed by Martin Jansa
parent 21fb078ce1
commit 25c94d71f5
@@ -94,3 +94,10 @@ do_configure_prepend() {
export CUSTOM_DNET_NAME=dnet
export CUSTOM_DNET_LIBS=-L${STAGING_LIBDIR}/libdnet.so
}
python() {
if 'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split() or \
'filesystems-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
raise bb.parse.SkipRecipe('Requires meta-networking and meta-filesystems to be present.')
}