Fix symlink if_igb.ko in -current such that its relative and doesn't

end up with non-standard DESTDIR information in its symlink.  This
can happen very trivially if the release scripts are used.

Sponsored by:	Limelight Networks
This commit is contained in:
Sean Bruno 2017-10-07 23:33:14 +00:00
parent 75c8dfb6ae
commit 8dd7bf2916

View File

@ -23,6 +23,6 @@ CFLAGS += -I${SRCTOP}/sys/dev/e1000
#CFLAGS += -DDEVICE_POLLING
afterinstall:
ln -sf ${DESTDIR}${KMODDIR}/${KMOD}.ko ${DESTDIR}${KMODDIR}/if_igb.ko
cd ${DESTDIR}${KMODDIR} && ln -sf if_em.ko if_igb.ko
.include <bsd.kmod.mk>