summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2006-02-17 04:59:23 +0000
committerobrien <obrien@FreeBSD.org>2006-02-17 04:59:23 +0000
commit70a771f6cb3813aa2b2f404ac54276861b101339 (patch)
tree11e809630a7141e4032acd35378f6629ca23d0e8 /sys/conf
parente2dbcdd7a2f660e2757cafcb81ba41e9c8a4bdcd (diff)
downloadFreeBSD-src-70a771f6cb3813aa2b2f404ac54276861b101339.zip
FreeBSD-src-70a771f6cb3813aa2b2f404ac54276861b101339.tar.gz
When linking make sure it succeeds.
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