diff options
author | Michael Brown | 2009-03-27 05:47:08 +0100 |
---|---|---|
committer | Michael Brown | 2009-03-27 05:47:20 +0100 |
commit | a436dc4014d3abfbef817b4da09f7302cdd4668c (patch) | |
tree | f2f7643f9fe0c88b1eb1c83fca588ebf9132ffa5 | |
parent | [digest] md5sum and sha1sum commands (diff) | |
download | ipxe-a436dc4014d3abfbef817b4da09f7302cdd4668c.tar.gz ipxe-a436dc4014d3abfbef817b4da09f7302cdd4668c.tar.xz ipxe-a436dc4014d3abfbef817b4da09f7302cdd4668c.zip |
[build] Avoid always rebuilding bin/embedded.o
bin/embedded.o has a build dependency on bin/.embedded.list, which
gets generated automatically by the Makefile. However, if the
EMBEDDED_IMAGE list is empty, bin/.embedded.list will never be
created, and so bin/embedded.o will be rebuilt every time due to a
missing dependency.
Fix by forcing bin/.embedded.list to be created even if the list is
empty.
-rw-r--r-- | src/Makefile.housekeeping | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index 23ef8c60..71592db8 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -474,7 +474,7 @@ roms : # EMBEDDED_LIST := $(BIN)/.embedded.list ifeq ($(wildcard $(EMBEDDED_LIST)),) -EMBEDDED_LIST_IMAGE := +EMBEDDED_LIST_IMAGE := <invalid> else EMBEDDED_LIST_IMAGE := $(shell cat $(EMBEDDED_LIST)) endif @@ -609,7 +609,7 @@ $(BIN)/%.info : # BLIB_LIST := $(BIN)/.blib.list ifeq ($(wildcard $(BLIB_LIST)),) -BLIB_LIST_OBJS := +BLIB_LIST_OBJS := <invalid> else BLIB_LIST_OBJS := $(shell cat $(BLIB_LIST)) endif |