summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Brown2008-10-10 03:09:55 +0200
committerMichael Brown2008-10-10 04:42:56 +0200
commit98abd48a2690739db40c141f767b413f3308b56d (patch)
treef39a69b394330d87e79047a87138c875868cd8e8 /src
parent[makefile] Add missing dependency on arch/$(ARCH)/Makefile to MAKEDEPS (diff)
downloadipxe-98abd48a2690739db40c141f767b413f3308b56d.tar.gz
ipxe-98abd48a2690739db40c141f767b413f3308b56d.tar.xz
ipxe-98abd48a2690739db40c141f767b413f3308b56d.zip
[makefile] Inhibit warnings if AUTO_DEPS or MEDIA_DEPS are empty lists
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.housekeeping4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index cc13372a..ae0bae85 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -379,8 +379,10 @@ $(BIN)/deps/%.d : % $(MAKEDEPS) $(PARSEROM)
#
AUTO_DEPS = $(patsubst %,$(BIN)/deps/%.d,$(AUTO_SRCS))
ifdef NEED_DEPS
+ifneq ($(AUTO_DEPS),)
-include $(AUTO_DEPS)
endif
+endif
autodeps :
@$(ECHO) $(AUTO_DEPS)
VERYCLEANUP += $(BIN)/deps
@@ -636,8 +638,10 @@ MEDIA_DEPS = $(patsubst %,$(BIN)/deps/%.media.d,$(AUTO_MEDIA))
mediadeps :
@$(ECHO) $(MEDIA_DEPS)
ifdef NEED_DEPS
+ifneq ($(MEDIA_DEPS),)
-include $(MEDIA_DEPS)
endif
+endif
# Wrap up binary blobs (for embedded images)
#