aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.housekeeping
diff options
context:
space:
mode:
authorMichael Brown <mcb30@etherboot.org>2008-10-10 02:09:55 +0100
committerMichael Brown <mcb30@etherboot.org>2008-10-10 03:42:56 +0100
commit98abd48a2690739db40c141f767b413f3308b56d (patch)
treef39a69b394330d87e79047a87138c875868cd8e8 /src/Makefile.housekeeping
parent3f80f9e1a67b73072ffe72f1331dc4b8ae9bed6e (diff)
downloadipxe-98abd48a2690739db40c141f767b413f3308b56d.zip
ipxe-98abd48a2690739db40c141f767b413f3308b56d.tar.gz
ipxe-98abd48a2690739db40c141f767b413f3308b56d.tar.bz2
[makefile] Inhibit warnings if AUTO_DEPS or MEDIA_DEPS are empty lists
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r--src/Makefile.housekeeping4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index cc13372..ae0bae8 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)
#