From: Darrick J. Wong Date: Thu, 11 Jun 2026 14:05:52 +0000 (-0700) Subject: xfs_healer_start: fix static checking X-Git-Tag: v7.1.0~42 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=577d6415adbb7cab0db4f5c64c88190991942d80;p=xfsprogs-dev.git xfs_healer_start: fix static checking Fix static checking for the startup program's source code. Alternately, we could move it to its own subdirectory. Signed-off-by: "Darrick J. Wong" Reviewed-by: Andrey Albershteyn --- diff --git a/healer/Makefile b/healer/Makefile index 49a48b52..a95ef958 100644 --- a/healer/Makefile +++ b/healer/Makefile @@ -50,9 +50,14 @@ LDIRT += $(SYSTEMD_SERVICES) default: depend $(BUILD_TARGETS) $(SYSTEMD_SERVICES) +ifeq ($(CHECKSRC),2) +xfs_healer_start: $(SUBDIRS) xfs_healer_start.o +.PHONY: xfs_healer_start +else xfs_healer_start: $(SUBDIRS) xfs_healer_start.o $(LTDEPENDENCIES) @echo " [LD] $@" $(Q)$(LTLINK) -o $@ $(LDFLAGS) xfs_healer_start.o $(LDLIBS) +endif %.service: %.service.in $(builddefs) @echo " [SED] $@"