Skip to content

Commit 07ff6dd

Browse files
committed
Merge branch 'dl/allow-running-cocci-verbosely'
Dev support update. * dl/allow-running-cocci-verbosely: Makefile: respect $(V) in %.cocci.patch target
2 parents 2d74d28 + 4f3c1dc commit 07ff6dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1885,6 +1885,7 @@ ifndef V
18851885
QUIET_SP = @echo ' ' SP $<;
18861886
QUIET_HDR = @echo ' ' HDR $(<:hcc=h);
18871887
QUIET_RC = @echo ' ' RC $@;
1888+
QUIET_SPATCH = @echo ' ' SPATCH $<;
18881889
QUIET_SUBDIR0 = +@subdir=
18891890
QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \
18901891
$(MAKE) $(PRINT_DIR) -C $$subdir
@@ -2813,7 +2814,7 @@ FOUND_C_SOURCES = $(filter %.c,$(shell $(FIND_SOURCE_FILES)))
28132814
COCCI_SOURCES = $(filter-out $(THIRD_PARTY_SOURCES),$(FOUND_C_SOURCES))
28142815

28152816
%.cocci.patch: %.cocci $(COCCI_SOURCES)
2816-
@echo ' ' SPATCH $<; \
2817+
$(QUIET_SPATCH) \
28172818
if test $(SPATCH_BATCH_SIZE) = 0; then \
28182819
limit=; \
28192820
else \

0 commit comments

Comments
 (0)