Page MenuHomeFreeBSD

D10930.diff
No OneTemporary

D10930.diff

Index: head/Makefile.inc1
===================================================================
--- head/Makefile.inc1
+++ head/Makefile.inc1
@@ -710,6 +710,18 @@
# Dependencies cannot cope with certain source tree changes, particularly
# with respect to removing source files and replacing generated files.
# Handle these cases here in an ad-hoc fashion.
+# 20160829 remove stale dependencies for ptrace stub, rewritten in C
+# in r305012
+.for f in ptrace
+.if exists(${OBJTREE}${.CURDIR}/lib/libc/.depend.${f}.o)
+ @if egrep -q '/${f}.[sS]' \
+ ${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}.*; \
+ fi
+.endif
+.endfor
# 20170523 remove stale generated asm files for functions which are no longer
# syscalls after r302092 (pipe) and r318736 (others)
.for f in getdents lstat mknod pipe stat

File Metadata

Mime Type
text/plain
Expires
Thu, Mar 19, 3:34 AM (9 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29942750
Default Alt Text
D10930.diff (997 B)

Event Timeline