[oe] [PATCH 16/31] open-vm-tools: only build if meta-networking and meta-filesystems is available

Mark Hatle mark.hatle at windriver.com
Wed Sep 6 19:23:14 UTC 2017


libdnet - meta-networking
fuse - meta-filesystems

Signed-off-by: Mark Hatle <mark.hatle at windriver.com>
---
 meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb b/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
index f7746c8..5e809ac 100644
--- a/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
+++ b/meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb
@@ -93,3 +93,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.')
+}
+
-- 
1.8.3.1




More information about the Openembedded-devel mailing list