FAST_DEPEND clean hack: Remove lib32/soft files properly.
Only remove them if the option is enabled and also handle libsoft by using the proper LIBCOMPAT_OBJTREE. LIBCOMPAT:D will expand the text after it as a proper glob to the command line if LIBCOMPAT is defined. Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
fb3d959c66
commit
53f3deb166
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=325072
@ -782,7 +782,7 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
${OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.o; then \
|
||||
echo Removing stale dependencies for ${f} syscall wrappers; \
|
||||
rm -f ${OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.* \
|
||||
${OBJTREE}${.CURDIR}/world32/${.CURDIR}/lib/libc/.depend.${f}.*; \
|
||||
${LIBCOMPAT:D${LIBCOMPAT_OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.*}; \
|
||||
fi
|
||||
.endif
|
||||
.endfor
|
||||
@ -793,7 +793,7 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
${OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.o; then \
|
||||
echo Removing stale dependencies for ${f} syscall wrappers; \
|
||||
rm -f ${OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.* \
|
||||
${OBJTREE}${.CURDIR}/world32/${.CURDIR}/lib/libc/.depend.${f}.*; \
|
||||
${LIBCOMPAT:D${LIBCOMPAT_OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.*}; \
|
||||
fi
|
||||
.endif
|
||||
.endfor
|
||||
@ -805,8 +805,8 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
@echo Removing stale generated ${f} syscall files
|
||||
@rm -f ${OBJTREE}${.CURDIR}/lib/libc/${f}.* \
|
||||
${OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.* \
|
||||
${OBJTREE}${.CURDIR}/world32/${.CURDIR}/lib/libc/${f}.* \
|
||||
${OBJTREE}${.CURDIR}/world32/${.CURDIR}/lib/libc/.depend.${f}.*
|
||||
${LIBCOMPAT:D${LIBCOMPAT_OBJTREE}${.CURDIR}/lib/libc/${f}.*} \
|
||||
${LIBCOMPAT:D${LIBCOMPAT_OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.*}
|
||||
.endif
|
||||
.endfor
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user