From 011b967508342a5c940a0c75193f742c0b13bdc4 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 20 Feb 2016 00:21:04 +0100 Subject: [PATCH] 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 Reviewed-by: Ben Laurie --- crypto/build.info | 4 ++-- 1 file 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 -- 2.34.1