From 4659255f60114652d0839083b33a855ea1cbf9fc Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Wed, 16 Nov 2005 17:13:35 -0800 Subject: [PATCH] Make "sparse" check target do a global sparse Instead of iterating over all the source files, just check them all together since it works these days, and could potentially find cross-file issues. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index 659a4c0..36838d4 100644 --- a/makefile +++ b/makefile @@ -37,7 +37,7 @@ SPARSE=sparse SPARSE_FLAGS=-D__BIG_ENDIAN__ -D__ppc__ -D__linux__ -D__unix__ sparse: - for i in $(SRC); do $(SPARSE) $(SPARSE_FLAGS) $(DEFINES) $$i; done + $(SPARSE) $(SPARSE_FLAGS) $(DEFINES) $(SRC) clean: rm -f core lintout makeout tags makefile.bak *.o