about summary refs log tree commit diff
path: root/Makerules
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2012-05-03 20:51:38 +0200
committerAndreas Jaeger <aj@suse.de>2012-05-03 20:51:38 +0200
commita65ef2aefa3167e531d1df0047df804069a8c36f (patch)
tree2b4ad87481a05b7369176c7714d69ba4bbe03a3d /Makerules
parent76e835cf9e553cd9ce8f9cfb33dea37e1f95fd8f (diff)
downloadglibc-a65ef2aefa3167e531d1df0047df804069a8c36f.tar.gz
glibc-a65ef2aefa3167e531d1df0047df804069a8c36f.tar.xz
glibc-a65ef2aefa3167e531d1df0047df804069a8c36f.zip
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.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makerules b/Makerules
index de87ad6c2b..b069763a72 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