lib{c,sys}: really fix incremental builds

Reported by:	andrew
Fixes:		a650ec0e55 lib{c,sys}: fix incremental builds
This commit is contained in:
Brooks Davis 2024-03-18 17:06:41 +00:00
parent e29be07861
commit d9108adbc0

View file

@ -222,8 +222,8 @@ 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 -eq 'libsys/[^ /]*/syscall.S' "$OBJTOP"/lib/libsys/.depend.syscall.*; then
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"
clean_dep lib/libsys syscall S
clean_dep lib/libc syscall S