summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2018-04-05 13:30:59 -0400
committerPeter Jones <pjones@redhat.com>2018-04-05 14:49:17 -0400
commitbbaa96cdb2f4df7af79916fbb0f7912426d53ec4 (patch)
tree9547bcb3ba7c21719739b777b1347fe62e42dd6a
parent4ffcfdf4daa82f1f3c28f8fc06b5df1d8becec21 (diff)
downloadefi-boot-shim-bbaa96cdb2f4df7af79916fbb0f7912426d53ec4.tar.gz
efi-boot-shim-bbaa96cdb2f4df7af79916fbb0f7912426d53ec4.zip
Fix lib/ rebuild-on-change dependencies in the Makefile
Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index d013e49b..38a1e0e8 100644
--- a/Makefile
+++ b/Makefile
@@ -109,9 +109,9 @@ Cryptlib/OpenSSL/libopenssl.a:
mkdir -p Cryptlib/OpenSSL/crypto/{x509v3,x509,txt_db,stack,sha,rsa,rc4,rand,pkcs7,pkcs12,pem,ocsp,objects,modes,md5,lhash,kdf,hmac,evp,err,dso,dh,conf,comp,cmac,buffer,bn,bio,async{,/arch},asn1,aes}/
$(MAKE) VPATH=$(TOPDIR)/Cryptlib/OpenSSL TOPDIR=$(TOPDIR)/Cryptlib/OpenSSL -C Cryptlib/OpenSSL -f $(TOPDIR)/Cryptlib/OpenSSL/Makefile
-lib/lib.a:
+lib/lib.a: | $(TOPDIR)/lib/Makefile $(wildcard $(TOPDIR)/include/*.[ch])
if [ ! -d lib ]; then mkdir lib ; fi
- $(MAKE) VPATH=$(TOPDIR)/lib TOPDIR=$(TOPDIR) CFLAGS="$(CFLAGS)" -C lib -f $(TOPDIR)/lib/Makefile
+ $(MAKE) VPATH=$(TOPDIR)/lib TOPDIR=$(TOPDIR) CFLAGS="$(CFLAGS)" -C lib -f $(TOPDIR)/lib/Makefile lib.a
buildid : $(TOPDIR)/buildid.c
$(CC) -Og -g3 -Wall -Werror -Wextra -o $@ $< -lelf