From: Andreas Jaeger Date: Thu, 3 May 2012 18:51:38 +0000 (+0200) Subject: Do not delete make check-abi symlist files X-Git-Tag: glibc-2.16-tps~484 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a65ef2aefa3167e531d1df0047df804069a8c36f;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index fa804a5a0bf..1427a4529c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2012-05-03 Andreas Jaeger + Roland McGrath + + * Makerules (.PRECIOUS): Add %.symlist pattern to prevent + intermediate file deletion. + (generated): Add .symlist files. + 2012-05-03 Joseph Myers [BZ #13775] diff --git a/Makerules b/Makerules index de87ad6c2bd..b069763a729 100644 --- a/Makerules +++ b/Makerules @@ -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