mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Fix -DNO_CLEAN build across r353340 and r353381
opensolaris_atomic.S is now only used on i386 with opensolaris_atomic.c used on other platforms. After r353381 it doesn't exist on those platforms so the stale dependency would result in a build error.
This commit is contained in:
parent
e047b568fb
commit
a1ff92a580
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353408
|
@ -949,7 +949,18 @@ _sanity_check: .PHONY .MAKE
|
|||
# replacing generated files. Handle these cases here in an ad-hoc fashion.
|
||||
_cleanobj_fast_depend_hack: .PHONY
|
||||
# Syscall stubs rewritten in C and obsolete MD assembly implementations
|
||||
# Date SVN Rev Syscalls
|
||||
# Date SVN Rev Syscalls/Changes
|
||||
# 20191009 r353340 removal of opensolaris_atomic.S (also r353381)
|
||||
.if ${MACHINE} != i386
|
||||
.for f in opensolaris_atomic
|
||||
@if [ -e "${OBJTOP}/cddl/lib/libzpool/.depend.${f}.o" ] && \
|
||||
egrep -qw 'opensolaris_atomic\.S' ${OBJTOP}/cddl/lib/libzpool/.depend.${f}.o; then \
|
||||
echo "Removing stale dependencies for opensolaris_atomic"; \
|
||||
rm -f ${OBJTOP}/cddl/lib/libzpool/.depend.${f}.* \
|
||||
${LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/cddl/lib/libzpool/.depend.${f}.*}; \
|
||||
fi
|
||||
.endfor
|
||||
.endif
|
||||
# 20190925 r352689 removal of obsolete i386 memchr.S
|
||||
.for f in memchr
|
||||
@if [ -e "${OBJTOP}/lib/libc/.depend.${f}.o" ] && \
|
||||
|
|
Loading…
Reference in a new issue