summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-02-20 00:21:04 +0100
committerRichard Levitte <levitte@openssl.org>2016-02-20 16:50:20 +0100
commit011b967508342a5c940a0c75193f742c0b13bdc4 (patch)
tree659b7600b3bc0c3daa8537acf5cbdf9e7212aba9
parent033585175485077bf7f5bbb352fd4f162d0c235f (diff)
Make crypto/buildinf.h depend on configdata.pm rather than Makefile
Depending on Makefile meant that a new attempt to rebuild the Makefile with "new" dependency data was done all the time, uncontrolled. Better to depend on configdata.pm, which truly only changes with reconfiguration. Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Ben Laurie <ben@openssl.org>
-rw-r--r--crypto/build.info4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/build.info b/crypto/build.info
index b360ff876e..a3ea7f0e0d 100644
--- a/crypto/build.info
+++ b/crypto/build.info
@@ -11,12 +11,12 @@ EXTRA= ../ms/uplink-x86.pl ../ms/uplink.c ../ms/applink.c \
DEPEND[cversion.o]=buildinf.h
BEGINRAW[descrip.mms]
-[.crypto]buildinf.h : descrip.mms
+[.crypto]buildinf.h : configdata.pm
$(PERL) {- catfile(catdir($sourcedir, "[-]"), "util", "mkbuildinf.pl") -} "$(CC) $(CFLAGS)" "$(PLATFORM)" > [.crypto]buildinf.h
ENDRAW[descrip.mms]
BEGINRAW[Makefile]
-crypto/buildinf.h : Makefile
+crypto/buildinf.h : configdata.pm
$(PERL) $(SRCDIR)/util/mkbuildinf.pl "$(CC) $(CFLAGS_Q)" "$(PLATFORM)" > crypto/buildinf.h
##### APPLINK, UPLINK and CPUID assembler implementations