21 Commits

Author SHA1 Message Date
Mark Hatle
25c94d71f5 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>
2017-09-13 11:08:46 +02:00
Khem Raj
f96dffa6e0 open-vm-tools: Add -Wno-address-of-packed-member for with clang
This option ignores a warning as following
 error: taking address of packed member 'actualSize' of class or structure 'HgfsReplyReadV3' may result in an unaligned pointer value

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-09-07 10:57:38 +02:00
Khem Raj
94670cce6b open-vm-tools: Fix build with musl
Use SPDX format for LICENSES

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:58:51 +02:00
Martin Kelly
77ff128358 open-vm-tools: remove custom procps logic
procps is picked up by pkgconfig without issue, so we no longer need
this logic.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-24 18:58:20 +02:00
Martin Kelly
3aebb23542 open-vm-tools: remove -Wno-error
In the past, we compiled with -Wno-error=deprecated-declarations, but
the current version compiles fine without it, so remove it.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
8501dc0842 open-vm-tools: fix all hardcoded paths
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
7b32361bd7 open-vm-tools: style changes
Various cosmetic changes to make the recipe match the style guide:

http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
e50762e09b open-vm-tools: scope build to only x86
Since open-vm-tools builds only on x86, set COMPATIBLE_HOST to reflect
this.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
532b1c0566 open-vm-tools: support FUSE
The vmhgfs driver is now gone, but they use FUSE instead. Add FUSE support so we
don't lose the functionality vmhgfs use to provide.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
2be0c8b29b open-vm-tools: line up configure options
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
443c441443 open-vm-tools: remove kernel module logic
All the modules are upstream for Linux >= 4.0, so no modules are being built
anyway. We can safely remove the build logic for them.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
6b0ac39453 open-vm-tools: add missing X11 dependencies
Certain dependencies that are implied when we build with X11 support -- such as
libxext -- were missing. Add them, and meanwhile switch to using
PACKAGECONFIG[x11] instead of DISTRO_FEATURES.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
b847bc1724 open-vm-tools: add #include to fix build break
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:25 +02:00
Martin Kelly
16accb708c open-vm-tools: don't use dnet-config
dnet-config wasn't found in the PATH, and it doesn't work properly for
cross-compile anyway.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
778f28874f open-vm-tools: don't use mspack
It's not actually needed when you set --disable-deploypkg.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
d5f02c41cb open-vm-tools: update version to 10.1.5
Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
401eadb968 open-vm-tools: base_contains --> bb.utils.contains
base_contains is deprecated, as the friendly warning reminds us.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
96c5bf624b open-vm-tools: clarify and expand licensing
Userspace tools are licensed LGPLv2 and the kernel modules are various licenses
depending on the platform. Clarify this and add appropriate licensing variables.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
e1d922c1a3 open-vm-tools: add missing glib-2.0-native dependency
glib-2.0-native is needed to find glib-genmarshal.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
7814514331 open-vm-tools: add missing pkgconfig dependency
The configure.ac script uses pkgconfig but we didn't depend on it, so it was
silently not using pkgconfig.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00
Martin Kelly
d8e895ef73 open-vm-tools: add new recipe
This recipe is modified from the recipe originally found in the Open-Switch
repository:

https://github.com/open-switch/ops-build
yocto/openswitch/meta-foss-openswitch/recipes-extended/open-vm-tools/open-vm-tools_10.0.5.bb
Commit 9008de2d8e100f3f868c66765742bca9fa98f3f9

Although the original recipe packaging was Apache-licensed, I received
permission from the author (Diego Dompe) to relicense it under the MIT license
for inclusion in meta-openembedded:

https://lists.openswitch.net/pipermail/ops-dev/2017-April/014715.html
https://lists.openswitch.net/pipermail/ops-dev/2017-April/014716.html

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-01 09:59:24 +02:00