瀏覽代碼

[build] Standardise variable naming for inter-build state files

For files such as $(BIN)/.blib.list, standardise the variable names
used to represent the file contents.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 年之前
父節點
當前提交
f00c3c619a
共有 1 個文件被更改,包括 9 次插入9 次删除
  1. 9
    9
      src/Makefile.housekeeping

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

@@ -382,11 +382,11 @@ endif
382 382
 #
383 383
 FNREC_STATE	:= $(BIN)/.fnrec.state
384 384
 ifeq ($(wildcard $(FNREC_STATE)),)
385
-FNREC_STATE_OLD := <invalid>
385
+FNREC_OLD	:= <invalid>
386 386
 else
387
-FNREC_STATE_OLD	:= $(shell cat $(FNREC_STATE))
387
+FNREC_OLD	:= $(shell cat $(FNREC_STATE))
388 388
 endif
389
-ifeq ($(FNREC_STATE_OLD),$(FNREC))
389
+ifeq ($(FNREC_OLD),$(FNREC))
390 390
 $(FNREC_STATE) :
391 391
 else
392 392
 $(FNREC_STATE) : clean
@@ -521,11 +521,11 @@ roms :
521 521
 #
522 522
 EMBEDDED_LIST	:= $(BIN)/.embedded.list
523 523
 ifeq ($(wildcard $(EMBEDDED_LIST)),)
524
-EMBEDDED_LIST_IMAGE := <invalid>
524
+EMBEDDED_IMAGE_OLD := <invalid>
525 525
 else
526
-EMBEDDED_LIST_IMAGE := $(shell cat $(EMBEDDED_LIST))
526
+EMBEDDED_IMAGE_OLD := $(shell cat $(EMBEDDED_LIST))
527 527
 endif
528
-ifneq ($(EMBEDDED_LIST_IMAGE),$(EMBEDDED_IMAGE))
528
+ifneq ($(EMBEDDED_IMAGE_OLD),$(EMBEDDED_IMAGE))
529 529
 $(shell $(ECHO) "$(EMBEDDED_IMAGE)" > $(EMBEDDED_LIST))
530 530
 endif
531 531
 
@@ -665,11 +665,11 @@ $(BIN)/%.info :
665 665
 #
666 666
 BLIB_LIST	:= $(BIN)/.blib.list
667 667
 ifeq ($(wildcard $(BLIB_LIST)),)
668
-BLIB_LIST_OBJS	:= <invalid>
668
+BLIB_OBJS_OLD	:= <invalid>
669 669
 else
670
-BLIB_LIST_OBJS	:= $(shell cat $(BLIB_LIST))
670
+BLIB_OBJS_OLD	:= $(shell cat $(BLIB_LIST))
671 671
 endif
672
-ifneq ($(BLIB_LIST_OBJS),$(BLIB_OBJS))
672
+ifneq ($(BLIB_OBJS_OLD),$(BLIB_OBJS))
673 673
 $(shell $(ECHO) "$(BLIB_OBJS)" > $(BLIB_LIST))
674 674
 endif
675 675
 

Loading…
取消
儲存