diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-05 16:35:08 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-13 11:08:46 +0200 |
commit | 25c94d71f581813b1f1cf7a9305dd61b28d69e21 (patch) | |
tree | 9d316bc8e93fa5195f47ac9d3f5f2e4965aaa0eb | |
parent | 21fb078ce1651de0fb2f7876e6d8e5e3de728a95 (diff) | |
download | meta-openembedded-25c94d71f581813b1f1cf7a9305dd61b28d69e21.tar.gz |
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>
-rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 7 |
1 files changed, 7 insertions, 0 deletions
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 dc8faa4ea..81e8e9624 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 | |||
@@ -94,3 +94,10 @@ do_configure_prepend() { | |||
94 | export CUSTOM_DNET_NAME=dnet | 94 | export CUSTOM_DNET_NAME=dnet |
95 | export CUSTOM_DNET_LIBS=-L${STAGING_LIBDIR}/libdnet.so | 95 | export CUSTOM_DNET_LIBS=-L${STAGING_LIBDIR}/libdnet.so |
96 | } | 96 | } |
97 | |||
98 | python() { | ||
99 | if 'networking-layer' not in d.getVar('BBFILE_COLLECTIONS').split() or \ | ||
100 | 'filesystems-layer' not in d.getVar('BBFILE_COLLECTIONS').split(): | ||
101 | raise bb.parse.SkipRecipe('Requires meta-networking and meta-filesystems to be present.') | ||
102 | } | ||
103 | |||