summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2004-10-09 13:51:28 +0000
committerjoerg <joerg@FreeBSD.org>2004-10-09 13:51:28 +0000
commit516eac721f3546e5008a58c0b49c46b46fea886c (patch)
treed0ccddfd127eee13034dfc27ed05c27bfca38dbb /sys
parent0c7bb9f633cd6804fdc80dc3bf4b9e6d3781f85b (diff)
downloadFreeBSD-src-516eac721f3546e5008a58c0b49c46b46fea886c.zip
FreeBSD-src-516eac721f3546e5008a58c0b49c46b46fea886c.tar.gz
Forcibly create symlinked headers, otherwise the build process may fail
if the target link already existed (e. g. -DNO_KERNELCLEAN).
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kmod.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk
index 3f76d3e..2269081 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
OpenPOWER on IntegriCloud