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:
parent
92c6a88b76
commit
292c5292b6
@ -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
|
||||
|
@ -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}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user