Merge branch 'dl/allow-running-cocci-verbosely'

Dev support update.

* dl/allow-running-cocci-verbosely:
  Makefile: respect $(V) in %.cocci.patch target
This commit is contained in:
Junio C Hamano 2019-10-18 11:40:48 +09:00
Родитель 2d74d28ee0 4f3c1dc5d6
Коммит 07ff6dd0ea
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -1885,6 +1885,7 @@ ifndef V
QUIET_SP = @echo ' ' SP $<; QUIET_SP = @echo ' ' SP $<;
QUIET_HDR = @echo ' ' HDR $(<:hcc=h); QUIET_HDR = @echo ' ' HDR $(<:hcc=h);
QUIET_RC = @echo ' ' RC $@; QUIET_RC = @echo ' ' RC $@;
QUIET_SPATCH = @echo ' ' SPATCH $<;
QUIET_SUBDIR0 = +@subdir= QUIET_SUBDIR0 = +@subdir=
QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \ QUIET_SUBDIR1 = ;$(NO_SUBDIR) echo ' ' SUBDIR $$subdir; \
$(MAKE) $(PRINT_DIR) -C $$subdir $(MAKE) $(PRINT_DIR) -C $$subdir
@ -2813,7 +2814,7 @@ FOUND_C_SOURCES = $(filter %.c,$(shell $(FIND_SOURCE_FILES)))
COCCI_SOURCES = $(filter-out $(THIRD_PARTY_SOURCES),$(FOUND_C_SOURCES)) COCCI_SOURCES = $(filter-out $(THIRD_PARTY_SOURCES),$(FOUND_C_SOURCES))
%.cocci.patch: %.cocci $(COCCI_SOURCES) %.cocci.patch: %.cocci $(COCCI_SOURCES)
@echo ' ' SPATCH $<; \ $(QUIET_SPATCH) \
if test $(SPATCH_BATCH_SIZE) = 0; then \ if test $(SPATCH_BATCH_SIZE) = 0; then \
limit=; \ limit=; \
else \ else \