depend-cleanup.sh: Fix overzealous abd_os.c cleanup

A source file with the same name is still used to build an abd_os.o, it
just comes from a different directory. Thus we need to include part of
the path in the regex too. Technically zfs/abd_os\.c would suffice given
it's now in sys/contrib/openzfs/lib/libzpool/abd_os.c, but this seems
clearer and less likely to have future false-positives.

Fixes:	fd3d3240b0 ("depend-cleanup.sh: Add a rule to work around abd_os.c dependency changes")
This commit is contained in:
Jessica Clarke 2024-09-10 18:54:45 +01:00
parent cc30f4ae67
commit 0980d0a037

View file

@ -185,4 +185,4 @@ if [ -f "$OBJTOP"/rescue/rescue/rescue.mk ] && \
fi
# 20240910 e2df9bb44109
clean_dep cddl/lib/libzpool abd_os c
clean_dep cddl/lib/libzpool abd_os c "linux/zfs/abd_os\.c"