diff options
| author | Martin Kelly <mkelly@xevo.com> | 2017-06-23 15:48:39 -0700 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-01 09:59:24 +0200 |
| commit | 16accb708c14f490605b02cfd8af5e74dd1f7ba7 (patch) | |
| tree | 9a892c93053562b4bcf37413103aac4fc5d2adf5 | |
| parent | 778f28874f8ae4f38763b2403cbe1fcaac7aca3d (diff) | |
| download | meta-openembedded-16accb708c14f490605b02cfd8af5e74dd1f7ba7.tar.gz | |
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>
| -rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch | 41 | ||||
| -rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 3 |
2 files changed, 44 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch b/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch new file mode 100644 index 0000000000..e9cb873f1a --- /dev/null +++ b/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | From 929150608c16644695f19cd2e0cc8a06a41cd497 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Kelly <mkelly@xevo.com> | ||
| 3 | Date: Fri, 7 Apr 2017 15:20:30 -0700 | ||
| 4 | Subject: [PATCH] configure.ac: don't use dnet-config | ||
| 5 | |||
| 6 | The dnet-config tool doesn't know about cross-compilation, so it injects | ||
| 7 | -I/usr/include into the path, causing compiler errors. So instead find dnet via | ||
| 8 | -ldnet. | ||
| 9 | |||
| 10 | Upstream-Status: Inappropriate [embedded specific] | ||
| 11 | |||
| 12 | Signed-off-by: Martin Kelly <mkelly@xevo.com> | ||
| 13 | --- | ||
| 14 | configure.ac | 4 ++-- | ||
| 15 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/configure.ac b/configure.ac | ||
| 18 | index 3400b86..7d6119e 100644 | ||
| 19 | --- a/configure.ac | ||
| 20 | +++ b/configure.ac | ||
| 21 | @@ -942,7 +942,7 @@ if test "$with_dnet" = "yes"; then | ||
| 22 | AC_VMW_CHECK_LIB([dnet], | ||
| 23 | [DNET], | ||
| 24 | [], | ||
| 25 | - [dnet-config], | ||
| 26 | + [], | ||
| 27 | [], | ||
| 28 | [dnet.h], | ||
| 29 | [intf_open], | ||
| 30 | @@ -952,7 +952,7 @@ if test "$with_dnet" = "yes"; then | ||
| 31 | |||
| 32 | if test $have_dnet = "no"; then | ||
| 33 | AC_MSG_ERROR( | ||
| 34 | - [dnet-config was not found on your PATH. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net]) | ||
| 35 | + [dnet was not found. Please configure without dnet (using --without-dnet) or install dnet - http://libdnet.sourceforge.net]) | ||
| 36 | fi | ||
| 37 | fi | ||
| 38 | |||
| 39 | -- | ||
| 40 | 2.1.4 | ||
| 41 | |||
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 6793d450b8..b3e0afca73 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 | |||
| @@ -24,6 +24,7 @@ SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https \ | |||
| 24 | file://tools.conf \ | 24 | file://tools.conf \ |
| 25 | file://vmtoolsd.service \ | 25 | file://vmtoolsd.service \ |
| 26 | file://0001-Fix-kernel-detection.patch \ | 26 | file://0001-Fix-kernel-detection.patch \ |
| 27 | file://0002-configure.ac-don-t-use-dnet-config.patch \ | ||
| 27 | " | 28 | " |
| 28 | 29 | ||
| 29 | SRCREV = "854c0bb374612f7e633b448ca273f970f154458b" | 30 | SRCREV = "854c0bb374612f7e633b448ca273f970f154458b" |
| @@ -76,4 +77,6 @@ do_install_append() { | |||
| 76 | do_configure_prepend() { | 77 | do_configure_prepend() { |
| 77 | export CUSTOM_PROCPS_NAME=procps | 78 | export CUSTOM_PROCPS_NAME=procps |
| 78 | export CUSTOM_PROCPS_LIBS=-L${STAGING_LIBDIR}/libprocps.so | 79 | export CUSTOM_PROCPS_LIBS=-L${STAGING_LIBDIR}/libprocps.so |
| 80 | export CUSTOM_DNET_NAME=dnet | ||
| 81 | export CUSTOM_DNET_LIBS=-L${STAGING_LIBDIR}/libdnet.so | ||
| 79 | } | 82 | } |
