diff options
author | Martin Kelly <mkelly@xevo.com> | 2017-06-23 15:48:42 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-01 09:59:25 +0200 |
commit | 443c441443999eb7d11b01587bbc02af0038488d (patch) | |
tree | 0affb486dbd58dfdd89b33e08cd14be61269dc4d /meta-oe/recipes-support/open-vm-tools | |
parent | 6b0ac39453c7c39faf685747e60cb68754148e3c (diff) | |
download | meta-openembedded-443c441443999eb7d11b01587bbc02af0038488d.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support/open-vm-tools')
-rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch | 35 | ||||
-rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-configure.ac-don-t-use-dnet-config.patch (renamed from meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-configure.ac-don-t-use-dnet-config.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-add-include-sys-sysmacros.h.patch (renamed from meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add-include-sys-sysmacros.h.patch) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/open-vm-tools/open-vm-tools_10.1.5.bb | 23 |
4 files changed, 6 insertions, 52 deletions
diff --git a/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch b/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch deleted file mode 100644 index 63ea453249..0000000000 --- a/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0001-Fix-kernel-detection.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 5d8814f4b4f016a633984822a6dfbc9426fef333 Mon Sep 17 00:00:00 2001 | ||
2 | From: Diego Dompe <dompe@hpe.com> | ||
3 | Date: Thu, 7 Jan 2016 15:06:16 -0600 | ||
4 | Subject: [PATCH] Fix-kernel-detection | ||
5 | |||
6 | Signed-off-by: Diego Dompe <dompe@hpe.com> | ||
7 | --- | ||
8 | configure.ac | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/configure.ac b/configure.ac | ||
12 | index 04e3bac..1ab3f29 100644 | ||
13 | --- a/configure.ac | ||
14 | +++ b/configure.ac | ||
15 | @@ -151,7 +151,7 @@ if test "$with_kernel_modules" = "yes"; then | ||
16 | if test ! -d "$LINUXDIR/kernel/"; then | ||
17 | AC_MSG_ERROR([$LINUXDIR/kernel does not exist]) | ||
18 | fi | ||
19 | - LINUXINCLUDE="$LINUXDIR/build/include" | ||
20 | + LINUXINCLUDE="$LINUXDIR/include" | ||
21 | if test ! -d "$LINUXINCLUDE"; then | ||
22 | AC_MSG_ERROR([Can't find include dir under $LINUXDIR]) | ||
23 | fi | ||
24 | @@ -1034,7 +1034,7 @@ MODULES_DIR="" | ||
25 | buildHgfsmounter=no | ||
26 | |||
27 | if test "$os" = "linux"; then | ||
28 | - MODULES_DIR="$LINUXDIR/kernel/" | ||
29 | + MODULES_DIR="/lib/modules/$KERNEL_RELEASE" | ||
30 | |||
31 | CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" | ||
32 | CPPFLAGS="$CPPFLAGS -D_LARGEFILE64_SOURCE" | ||
33 | -- | ||
34 | 1.9.1 | ||
35 | |||
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/0001-configure.ac-don-t-use-dnet-config.patch index e9cb873f1a..e9cb873f1a 100644 --- 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/0001-configure.ac-don-t-use-dnet-config.patch | |||
diff --git a/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add-include-sys-sysmacros.h.patch b/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-add-include-sys-sysmacros.h.patch index f905601d52..f905601d52 100644 --- a/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0003-add-include-sys-sysmacros.h.patch +++ b/meta-oe/recipes-support/open-vm-tools/open-vm-tools/0002-add-include-sys-sysmacros.h.patch | |||
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 76d3840e66..24c8e93003 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 | |||
@@ -23,41 +23,30 @@ LICENSE_modules/solaris = "CDDLv1" | |||
23 | SRC_URI = "git://github.com/vmware/open-vm-tools.git;protocol=https \ | 23 | 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-configure.ac-don-t-use-dnet-config.patch \ |
27 | file://0002-configure.ac-don-t-use-dnet-config.patch \ | 27 | file://0002-add-include-sys-sysmacros.h.patch \ |
28 | file://0003-add-include-sys-sysmacros.h.patch \ | ||
29 | " | 28 | " |
30 | 29 | ||
31 | SRCREV = "854c0bb374612f7e633b448ca273f970f154458b" | 30 | SRCREV = "854c0bb374612f7e633b448ca273f970f154458b" |
32 | 31 | ||
33 | S = "${WORKDIR}/git/open-vm-tools" | 32 | S = "${WORKDIR}/git/open-vm-tools" |
34 | 33 | ||
35 | DEPENDS = "virtual/kernel glib-2.0 glib-2.0-native util-linux libdnet procps" | 34 | DEPENDS = "glib-2.0 glib-2.0-native util-linux libdnet procps" |
36 | RDEPENDS_${PN} = "util-linux libdnet kernel-module-vmhgfs" | 35 | RDEPENDS_${PN} = "util-linux libdnet" |
37 | 36 | ||
38 | inherit module-base kernel-module-split autotools pkgconfig systemd | 37 | inherit autotools pkgconfig systemd |
39 | |||
40 | # from module.bbclass... | ||
41 | addtask make_scripts after do_patch before do_compile | ||
42 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
43 | do_make_scripts[depends] = "virtual/kernel:do_shared_workdir" | ||
44 | # add all splitted modules to PN RDEPENDS, PN can be empty now | ||
45 | KERNEL_MODULES_META_PACKAGE = "${PN}" | ||
46 | 38 | ||
47 | SYSTEMD_SERVICE_${PN} = "vmtoolsd.service" | 39 | SYSTEMD_SERVICE_${PN} = "vmtoolsd.service" |
48 | 40 | ||
49 | EXTRA_OECONF = "--without-icu --disable-multimon --disable-docs --disable-tests \ | 41 | EXTRA_OECONF = "--without-icu --disable-multimon --disable-docs --disable-tests \ |
50 | --without-gtkmm --without-xerces --without-pam \ | 42 | --without-gtkmm --without-xerces --without-pam \ |
51 | --disable-grabbitmqproxy --disable-vgauth --disable-deploypkg \ | 43 | --disable-grabbitmqproxy --disable-vgauth --disable-deploypkg \ |
52 | --with-linuxdir=${STAGING_KERNEL_DIR} --with-kernel-release=${KERNEL_VERSION} --without-root-privileges" | 44 | --without-root-privileges --without-kernel-modules" |
53 | 45 | ||
54 | NO_X11_FLAGS = "--without-x --without-gtk2 --without-gtk3" | 46 | NO_X11_FLAGS = "--without-x --without-gtk2 --without-gtk3" |
55 | X11_DEPENDS = "libxext libxi libxrender libxrandr libxtst gtk+ gdk-pixbuf" | 47 | X11_DEPENDS = "libxext libxi libxrender libxrandr libxtst gtk+ gdk-pixbuf" |
56 | PACKAGECONFIG[x11] = ",${NO_X11_FLAGS},${X11_DEPENDS}" | 48 | PACKAGECONFIG[x11] = ",${NO_X11_FLAGS},${X11_DEPENDS}" |
57 | 49 | ||
58 | EXTRA_OEMAKE = "KERNEL_RELEASE=${KERNEL_VERSION}" | ||
59 | |||
60 | |||
61 | CFLAGS += '-Wno-error=deprecated-declarations' | 50 | CFLAGS += '-Wno-error=deprecated-declarations' |
62 | 51 | ||
63 | FILES_${PN} += "/usr/lib/open-vm-tools/plugins/vmsvc/lib*.so \ | 52 | FILES_${PN} += "/usr/lib/open-vm-tools/plugins/vmsvc/lib*.so \ |