Move shm_open dependency cleanup into a new home
r359461 introduced this nifty script to centralize these things, so add shm_open.c there to remove a total of one (1) bad example from Makefile.inc1. Looked over by: emaste
This commit is contained in:
parent
bd136d88f0
commit
6fe257c780
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359895
@ -956,15 +956,6 @@ _cleanobj_fast_depend_hack: .PHONY
|
||||
fi
|
||||
.endif
|
||||
.endfor
|
||||
# 20190916 r352703 shm_open
|
||||
.for f in shm_open
|
||||
@if [ -e "${OBJTOP}/lib/libc/.depend.${f}.o" ] && \
|
||||
egrep -qw '${f}\.[sS]' ${OBJTOP}/lib/libc/.depend.${f}.o; then \
|
||||
echo "Removing stale dependencies for ${f} syscall wrappers"; \
|
||||
rm -f ${OBJTOP}/lib/libc/.depend.${f}.* \
|
||||
${_LIBCOMPAT:D${LIBCOMPAT_OBJTOP}/lib/libc/.depend.${f}.*}; \
|
||||
fi
|
||||
.endfor
|
||||
|
||||
_worldtmp: .PHONY
|
||||
@echo
|
||||
|
@ -32,5 +32,7 @@ clean_dep()
|
||||
}
|
||||
|
||||
# Date Rev Description
|
||||
# 20190916 r352703 shm_open syscall reimplemented in C
|
||||
clean_dep lib/libc shm_open c
|
||||
# 20200310 r358851 rename of openmp's ittnotify_static.c to .cpp
|
||||
clean_dep lib/libomp ittnotify_static c
|
||||
|
Loading…
Reference in New Issue
Block a user