diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 3f76d3e4c968..226908194cd1 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -280,7 +280,7 @@ CFLAGS += -I${KERNBUILDDIR} CLEANFILES+= ${_src} .if !target(${_src}) ${_src}: - ln -s ${KERNBUILDDIR}/${_src} ${.TARGET} + ln -sf ${KERNBUILDDIR}/${_src} ${.TARGET} .endif .endfor .else