зеркало из https://github.com/microsoft/git.git
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:
Коммит
07ff6dd0ea
3
Makefile
3
Makefile
|
@ -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 \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче