Do not delete make check-abi symlist files

Do not remove the .symlist files and thus do not run
objdump for each library etc if you repeat the make check command.
This commit is contained in:
Andreas Jaeger 2012-05-03 20:51:38 +02:00
parent 76e835cf9e
commit a65ef2aefa
2 changed files with 14 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2012-05-03 Andreas Jaeger <aj@suse.de>
Roland McGrath <roland@hack.frob.com>
* Makerules (.PRECIOUS): Add %.symlist pattern to prevent
intermediate file deletion.
(generated): Add .symlist files.
2012-05-03 Joseph Myers <joseph@codesourcery.com>
[BZ #13775]

View file

@ -1158,6 +1158,13 @@ ifeq ($(versioning),yes)
vpath %.abilist $(+sysdep_dirs)
# The .PRECIOUS rule prevents the files built by an implicit rule whose
# target pattern is %.symlist from being considered "intermediate files"
# and automatically removed. We only want these files to be removed by
# 'make clean', which is handled by the 'generated' variable.
.PRECIOUS: %.symlist
generated += $(extra-libs:=.symlist)
check-abi-%: $(common-objpfx)config.make %.abilist $(objpfx)%.symlist
$(check-abi)
check-abi-%: $(common-objpfx)config.make %.abilist $(common-objpfx)%.symlist