mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 05:36:10 +00:00
depend-cleanup.sh: Simplify handling for stale syscall.S
Remove the outer grep and depend on the greps in clean_dep instead. Reviewed by: brooks, imp Obtained from: CheriBSD Sponsored by: AFRL, DARPA Differential Revision: https://reviews.freebsd.org/D46103
This commit is contained in:
parent
9bc300465e
commit
3a4b04e82d
|
@ -171,9 +171,7 @@ clean_dep lib/libc statfs c
|
|||
# 20240308 e6ffc7669a56 Remove pointless MD syscall(2)
|
||||
# 20240308 0ee0ae237324 Remove pointless MD syscall(2)
|
||||
# 20240308 7b3836c28188 Remove pointless MD syscall(2)
|
||||
if [ ${MACHINE} != i386 -a -f "$OBJTOP"/lib/libsys/.depend.syscall.o ] && \
|
||||
grep -q -e 'libsys/[^ /]*/syscall.S' "$OBJTOP"/lib/libsys/.depend.syscall.*; then
|
||||
echo "Removing stale <arch>/syscall.S depends"
|
||||
if [ ${MACHINE} != i386 ]; then
|
||||
clean_dep lib/libsys syscall S
|
||||
clean_dep lib/libc syscall S
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue