This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Do not delete make check-abi symlist files
- From: Andreas Jaeger <aj at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Wed, 02 May 2012 21:24:40 +0200
- Subject: [PATCH] Do not delete make check-abi symlist files
Here's a fix to not remove the .symlist files and thus not running
objdump for each library etc if you repeat the make check command.
Tested on Linux/x86-64 with make;make check;make clean
Ok to commit?
Thanks Andreas Schwab for the hint,
Andreas
2012-05-02 Andreas Jaeger <aj@suse.de>
* Makerules (.PRECIOUS): Add .symlist files.
(generated): Add .symlist files.
diff --git a/Makerules b/Makerules
index de87ad6..085e239 100644
--- a/Makerules
+++ b/Makerules
@@ -1158,6 +1158,10 @@ ifeq ($(versioning),yes)
vpath %.abilist $(+sysdep_dirs)
+# Make sure that symlist is not removed
+.PRECIOUS: $(foreach l,$(extra-libs),$(objpfx)$l.symlist)
+generated += $(foreach l,$(extra-libs),$l.symlist)
+
check-abi-%: $(common-objpfx)config.make %.abilist $(objpfx)%.symlist
$(check-abi)
check-abi-%: $(common-objpfx)config.make %.abilist $(common-objpfx)%.symlist
@@ -1193,6 +1197,8 @@ endif
ifeq ($(subdir),elf)
check-abi: check-abi-libc
update-abi: update-abi-libc
+# Make sure that symlist is not removed
+.PRECIOUS: $(common-objpfx)libc.symlist
common-generated += libc.symlist
endif
--
Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
GF: Jeff Hawn,Jennifer Guild,Felix ImendÃrffer,HRB16746 (AG NÃrnberg)
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126