Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4af3dda

Browse files
committed
Preserve intermediate .c files in coverage mode
The introduction of the .y -> .c pattern rule causes some .c files suchas bootparse.c to be considered intermediate files in the .y -> .c -> .orule chain, which make would automatically delete. But in coveragemode, the processing tools such as genhtml need those files, so markthem as "precious" so that make preserves them.
1 parent6868ed7 commit4af3dda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/Makefile.global.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ GENHTML = @GENHTML@
329329
ifeq ($(enable_coverage),yes)
330330
# ccache loses .gcno files
331331
exportCCACHE_DISABLE = 1
332+
# preserve intermediate .c files for genhtml
333+
.PRECIOUS:%.c
332334
endif
333335

334336
# Feature settings

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp