Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136475886
D10876.id28761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10876.id28761.diff
View Options
Index: Makefile.inc1
===================================================================
--- Makefile.inc1
+++ Makefile.inc1
@@ -712,6 +712,21 @@
.else
rm -rf ${WORLDTMP}/legacy/usr/include
.endif
+# 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.
+# 20170523 remove stale generated asm files for functions which are no longer
+# syscalls after r318736
+.if exists(${OBJTREE}${.CURDIR}/lib/libc/getdents.s) || \
+ exists(${OBJTREE}${.CURDIR}/lib/libc/getdents.S)
+ @echo removing stale generated syscall asm files
+.for f in getdents lstat mknod stat
+ @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}.*
+.endfor
+.endif
.for _dir in \
lib lib/casper usr legacy/bin legacy/usr
mkdir -p ${WORLDTMP}/${_dir}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Nov 18, 11:31 PM (43 m, 16 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25522151
Default Alt Text
D10876.id28761.diff (1 KB)
Attached To
Mode
D10876: Remove stale generated asm files for functions which are no longer syscalls.
Attached
Detach File
Event Timeline
Log In to Comment