svn commit: r353874 - head/sys/modules/if_tuntap

Kyle Evans kevans at FreeBSD.org
Mon Oct 21 20:28:39 UTC 2019


Author: kevans
Date: Mon Oct 21 20:28:38 2019
New Revision: 353874
URL: https://svnweb.freebsd.org/changeset/base/353874

Log:
  if_tuntap: remove if_{tun,tap}.ko -> if_tuntap.ko links
  
  These drivers have been merged into a single if_tuntap in 13.0. The
  compatibility links existed only for the interim and will be MFC'd along
  with the if_tuntap merge shortly.
  
  MFC after:	never

Modified:
  head/sys/modules/if_tuntap/Makefile

Modified: head/sys/modules/if_tuntap/Makefile
==============================================================================
--- head/sys/modules/if_tuntap/Makefile	Mon Oct 21 20:17:31 2019	(r353873)
+++ head/sys/modules/if_tuntap/Makefile	Mon Oct 21 20:28:38 2019	(r353874)
@@ -5,31 +5,4 @@
 KMOD=	if_tuntap
 SRCS=	if_tuntap.c opt_inet.h opt_inet6.h
 
-# Symlink for backwards compatibility with systems installed at 12.0 or older
-.if ${MACHINE_CPUARCH} != "powerpc"
-SYMLINKS=	${KMOD}.ko ${KMODDIR}/if_tun.ko \
-	${KMOD}.ko ${KMODDIR}/if_tap.ko
-.else
-# Some PPC systems use msdosfs for /boot, which can't handle links or symlinks
-afterinstall: alias alias_debug
-alias: .PHONY
-	${INSTALL} -T release -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
-	    ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/if_tun.ko
-	${INSTALL} -T release -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
-	    ${_INSTALLFLAGS} ${PROG} ${DESTDIR}${KMODDIR}/if_tap.ko
-.if defined(DEBUG_FLAGS) && !defined(INSTALL_NODEBUG) && \
-    "${MK_KERNEL_SYMBOLS}" != "no"
-alias_debug: .PHONY
-	${INSTALL} -T debug -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
-	    ${_INSTALLFLAGS} ${PROG}.debug \
-	    ${DESTDIR}${KERN_DEBUGDIR}${KMODDIR}/if_tun.ko
-	${INSTALL} -T debug -o ${KMODOWN} -g ${KMODGRP} -m ${KMODMODE} \
-	    ${_INSTALLFLAGS} ${PROG}.debug \
-	    ${DESTDIR}${KERN_DEBUGDIR}${KMODDIR}/if_tap.ko
-.else
-alias_debug: .PHONY
-.endif
-.endif
-
-
 .include <bsd.kmod.mk>


More information about the svn-src-head mailing list