From 6fe257c7800fb64d51f43837ec4b85de6ec8620d Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Mon, 13 Apr 2020 19:50:47 +0000 Subject: [PATCH] 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 --- Makefile.inc1 | 9 --------- tools/build/depend-cleanup.sh | 2 ++ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 3a517fc24cd3..f005aea9f403 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -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 diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh index 58a7eb74175b..08243aef93ac 100755 --- a/tools/build/depend-cleanup.sh +++ b/tools/build/depend-cleanup.sh @@ -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