浏览代码

[build] Add dependency of generated files upon Makefile

Ensure that any generated files (such as DER forms of X.509
certificates) are rebuilt if the Makefile changes.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 年前
父节点
当前提交
c27b3c7c33
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5
    5
      src/Makefile.housekeeping

+ 5
- 5
src/Makefile.housekeeping 查看文件

@@ -560,7 +560,7 @@ ifneq ($(EMBED_OLD),$(EMBED))
560 560
 $(shell $(ECHO) "$(EMBED)" > $(EMBEDDED_LIST))
561 561
 endif
562 562
 
563
-$(EMBEDDED_LIST) :
563
+$(EMBEDDED_LIST) : $(MAKEDEPS)
564 564
 
565 565
 VERYCLEANUP	+= $(EMBEDDED_LIST)
566 566
 
@@ -585,7 +585,7 @@ ifneq ($(TRUST_OLD),$(TRUST))
585 585
 $(shell $(ECHO) "$(TRUST)" > $(TRUSTED_LIST))
586 586
 endif
587 587
 
588
-$(TRUSTED_LIST) :
588
+$(TRUSTED_LIST) : $(MAKEDEPS)
589 589
 
590 590
 VERYCLEANUP	+= $(TRUSTED_LIST)
591 591
 
@@ -613,7 +613,7 @@ ifneq ($(CERT_OLD),$(CERT))
613 613
 $(shell $(ECHO) "$(CERT)" > $(CERT_LIST))
614 614
 endif
615 615
 
616
-$(CERT_LIST) :
616
+$(CERT_LIST) : $(MAKEDEPS)
617 617
 
618 618
 VERYCLEANUP += $(CERT_LIST)
619 619
 
@@ -649,7 +649,7 @@ ifneq ($(PRIVKEY_OLD),$(PRIVKEY))
649 649
 $(shell $(ECHO) "$(PRIVKEY)" > $(PRIVKEY_LIST))
650 650
 endif
651 651
 
652
-$(PRIVKEY_LIST) :
652
+$(PRIVKEY_LIST) : $(MAKEDEPS)
653 653
 
654 654
 VERYCLEANUP += $(PRIVKEY_LIST)
655 655
 
@@ -938,7 +938,7 @@ ifneq ($(BLIB_OBJS_OLD),$(BLIB_OBJS))
938 938
 $(shell $(ECHO) "$(BLIB_OBJS)" > $(BLIB_LIST))
939 939
 endif
940 940
 
941
-$(BLIB_LIST) :
941
+$(BLIB_LIST) : $(MAKEDEPS)
942 942
 
943 943
 VERYCLEANUP	+= $(BLIB_LIST)
944 944
 

正在加载...
取消
保存