Allow -DNO_CLEAN builds over r332048.

This commit is contained in:
Brooks Davis 2018-04-04 22:46:30 +00:00
parent 7dd87e9a82
commit 62d6bc395a

View File

@ -802,11 +802,12 @@ _sanity_check: .PHONY .MAKE
# tree changes, particularly with respect to removing source files and
# replacing generated files. Handle these cases here in an ad-hoc fashion.
_cleanobj_fast_depend_hack: .PHONY
# Syscall stubs rewritten in C
# Syscall stubs rewritten in C and obsolete MD assembly implementations
# Date SVN Rev Syscalls
# 20160829 r305012 ptrace
# 20170624 r320278 fstat fstatat fstatfs getdirentries getfsstat statfs
.for f in fstat fstatat fstatfs getdirentries getfsstat ptrace statfs
# 20180404 r332048 sigreturn
.for f in fstat fstatat fstatfs getdirentries getfsstat ptrace sigreturn statfs
.if exists(${OBJTOP}/lib/libc/.depend.${f}.o)
@if egrep -qw '${f}\.[sS]' \
${OBJTOP}/lib/libc/.depend.${f}.o; then \