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@freebsd.org>
This commit is contained in:
Sean Bruno 2017-10-10 19:14:40 +00:00
parent 3abf5d76f2
commit 307a8f2c21
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324500

View File

@ -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>