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:
parent
42c5607501
commit
4e8ba8de26
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user