svn commit: r324500 - head/sys/modules/em
Sean Bruno
sbruno at FreeBSD.org
Tue Oct 10 19:14:41 UTC 2017
Author: sbruno
Date: Tue Oct 10 19:14:40 2017
New Revision: 324500
URL: https://svnweb.freebsd.org/changeset/base/324500
Log:
Hard link if_igb.ko to if_em.ko. Use a LINK directive to ensure that
this is more friendly to the tree.
Tested this with loader.conf:if_igb_load="YES" and it does the right
thing.
Submitted by: Ian Lepore <ian at freebsd.org>
Modified:
head/sys/modules/em/Makefile
Modified: head/sys/modules/em/Makefile
==============================================================================
--- head/sys/modules/em/Makefile Tue Oct 10 16:17:03 2017 (r324499)
+++ head/sys/modules/em/Makefile Tue Oct 10 19:14:40 2017 (r324500)
@@ -22,7 +22,6 @@ CFLAGS += -I${SRCTOP}/sys/dev/e1000
# DEVICE_POLLING for a non-interrupt-driven method
#CFLAGS += -DDEVICE_POLLING
-afterinstall:
- cd ${DESTDIR}${KMODDIR} && ln -sf if_em.ko if_igb.ko
+LINKS= ${KMODDIR}/${KMOD}.ko ${KMODDIR}/if_igb.ko
.include <bsd.kmod.mk>
More information about the svn-src-all
mailing list