Forcibly create symlinked headers, otherwise the build process may fail

if the target link already existed (e. g. -DNO_KERNELCLEAN).
This commit is contained in:
Joerg Wunsch 2004-10-09 13:51:28 +00:00
parent 42c5607501
commit 4e8ba8de26

View File

@ -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