HomeFreeBSD

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

Description

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: fd3d3240b0d7 ("depend-cleanup.sh: Add a rule to work around abd_os.c dependency changes")

Details

Provenance
jrtc27Authored on Sep 10 2024, 5:54 PM
Parents
rGcc30f4ae6790: depend-cleanup.sh: Extend clean_dep to support a custom regex
Branches
Unknown
Tags
Unknown