david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[makefile] Inhibit warnings if AUTO_DEPS or MEDIA_DEPS are empty lists

This commit is contained in:
Michael Brown 2008-10-10 02:09:55 +01:00
parent 3f80f9e1a6
commit 98abd48a26
1 changed files with 4 additions and 0 deletions

View File

@ -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)
#