summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kmod.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 96333aa..86eb0f8 100644
--- a/sys/conf/kmod.mk
+++ b/sys/conf/kmod.mk
@@ -240,7 +240,7 @@ ${_ILINKS}:
esac ; \
path=`(cd $$path && /bin/pwd)` ; \
${ECHO} ${.TARGET} "->" $$path ; \
- ln -s $$path ${.TARGET}
+ ln -sf $$path ${.TARGET}
CLEANFILES+= ${PROG} ${KMOD}.kld ${OBJS} ${_ILINKS}
@@ -299,7 +299,7 @@ CFLAGS+= -I${KERNBUILDDIR}
CLEANFILES+= ${_src}
.if !target(${_src})
${_src}:
- ln -s ${KERNBUILDDIR}/${_src} ${.TARGET}
+ ln -sf ${KERNBUILDDIR}/${_src} ${.TARGET}
.endif
.endfor
.else
OpenPOWER on IntegriCloud