Skip to content

Commit

Permalink
Remove Linux kernel modules
Browse files Browse the repository at this point in the history
Remove Linux kernel modules from open-vm-tools.
  • Loading branch information
oliverkurth committed Sep 15, 2017
1 parent 5034ce8 commit 131e4a6
Show file tree
Hide file tree
Showing 173 changed files with 2 additions and 62,019 deletions.
14 changes: 2 additions & 12 deletions open-vm-tools/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ AC_ARG_WITH([kernel-modules],
[AS_HELP_STRING([--with-kernel-modules],
[compile and install the kernel modules])],
[],
[if test "x$os" = "xlinux" -a "$osVersion" -ge 400000; then
[if test "x$os" = "xlinux" ; then
with_kernel_modules=no
else
with_kernel_modules=yes
Expand All @@ -146,18 +146,8 @@ AC_ARG_WITH([kernel-modules],
if test "$with_kernel_modules" = "yes"; then
case "$os" in
linux)
if test "$osVersion" -lt 206009; then
AC_MSG_ERROR([Kernels prior to 2.6.9 are not supported in this release of open-vm-tools. Configure using --without-kernel-modules to suppress building kernel drivers.])
fi
if test ! -d "$LINUXDIR/kernel/"; then
AC_MSG_ERROR([$LINUXDIR/kernel does not exist])
fi
LINUXINCLUDE="$LINUXDIR/build/include"
if test ! -d "$LINUXINCLUDE"; then
AC_MSG_ERROR([Cannot find include dir under $LINUXDIR])
fi
AC_MSG_ERROR([Building kernel modules for Linux is no longer supported.])
;;

freebsd)
freebsd_sysdir=/usr/src/sys
if test -n "$SYSDIR"; then
Expand Down
23 changes: 0 additions & 23 deletions open-vm-tools/modules/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@ EXTRA_ARGS =
EXTRA_ARGS += "SYSDIR=@SYSDIR@"
endif

if LINUX
export LINUXINCLUDE := @LINUXINCLUDE@
export vmblockdir := $(MODULES_DIR)/fs/vmblock
export vmcidir := $(MODULES_DIR)/drivers/misc
export vmhgfsdir := $(MODULES_DIR)/fs/vmhgfs
export vmsyncdir := $(MODULES_DIR)/drivers/misc
export vmxnetdir := $(MODULES_DIR)/drivers/net
export vsockdir := $(MODULES_DIR)/net/vsock
if WITH_ROOT_PRIVILEGES
export DEPMOD := depmod -a $(KERNEL_RELEASE)
endif WITH_ROOT_PRIVILEGES

include_HEADERS = $(top_srcdir)/lib/include/vmci_sockets.h
endif LINUX

if SOLARIS
export vmhgfsdir := $(MODULES_DIR)
# Solaris does not have Kbuild-like system so we need to supply
Expand Down Expand Up @@ -69,14 +54,6 @@ if FREEBSD
$(DESTDIR)$(MODULES_DIR); \
done
endif
if LINUX
for MOD in $(MODULES); do \
$(INSTALL) -d $(DESTDIR)`eval echo '$$'$${MOD}dir`; \
$(INSTALL) -m644 $(modulesrc)/$(MODULES_OS)/$$MOD/$$MOD.ko \
$(DESTDIR)`eval echo '$$'$${MOD}dir`; \
done
eval "$$DEPMOD"
endif

uninstall-hook:
for MOD in $(MODULES); do \
Expand Down
39 changes: 0 additions & 39 deletions open-vm-tools/modules/linux/dkms.conf

This file was deleted.

119 changes: 0 additions & 119 deletions open-vm-tools/modules/linux/dkms.sh

This file was deleted.

42 changes: 0 additions & 42 deletions open-vm-tools/modules/linux/shared/autoconf/cachecreate.c

This file was deleted.

40 changes: 0 additions & 40 deletions open-vm-tools/modules/linux/shared/autoconf/cachector.c

This file was deleted.

38 changes: 0 additions & 38 deletions open-vm-tools/modules/linux/shared/autoconf/cachector1.c

This file was deleted.

48 changes: 0 additions & 48 deletions open-vm-tools/modules/linux/shared/autoconf/dalias.c

This file was deleted.

0 comments on commit 131e4a6

Please sign in to comment.