WITH_META_MDE: Fix machine/include and x86/include issues.

- Fixes 'ln: File exists' errors.
- Fixes creating include directories in the source directory as well.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2016-05-31 23:40:21 +00:00
parent 92c6a88b76
commit 292c5292b6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301088
2 changed files with 2 additions and 2 deletions

View File

@ -285,7 +285,7 @@ ${_ILINKS}:
path=${S}/${.TARGET}/include ;; \
esac ; \
${ECHO} ${.TARGET} "->" $$path ; \
ln -s $$path ${.TARGET}
ln -fhs $$path ${.TARGET}
# .depend needs include links so we remove them only together.
kernel-cleandepend: .PHONY

View File

@ -287,7 +287,7 @@ ${_ILINKS}:
esac ; \
path=`(cd $$path && /bin/pwd)` ; \
${ECHO} ${.TARGET:T} "->" $$path ; \
ln -sf $$path ${.TARGET:T}
ln -fhs $$path ${.TARGET:T}
CLEANFILES+= ${PROG} ${KMOD}.kld ${OBJS}