Author: kevans
Date: Mon Apr 13 19:50:47 2020
New Revision: 359895
URL: https://svnweb.freebsd.org/changeset/base/359895

Log:
  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

Modified:
  head/Makefile.inc1
  head/tools/build/depend-cleanup.sh

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Mon Apr 13 19:45:45 2020        (r359894)
+++ head/Makefile.inc1  Mon Apr 13 19:50:47 2020        (r359895)
@@ -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

Modified: head/tools/build/depend-cleanup.sh
==============================================================================
--- head/tools/build/depend-cleanup.sh  Mon Apr 13 19:45:45 2020        
(r359894)
+++ head/tools/build/depend-cleanup.sh  Mon Apr 13 19:50:47 2020        
(r359895)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to