diff --git a/sys/modules/em/Makefile b/sys/modules/em/Makefile index e9968046eea7..b9caaa2d3cc1 100644 --- a/sys/modules/em/Makefile +++ b/sys/modules/em/Makefile @@ -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