dirs.mk, subdirs.mk: Use SUBDIRS_TO_ITERATE over SUBDIRS

This commit is contained in:
Jan Lindemann 2010-12-04 13:59:24 +00:00 committed by Jan Lindemann
commit e7127ecbe4
2 changed files with 10 additions and 7 deletions

View file

@ -9,7 +9,7 @@ include $(MODDIR)/make/defs.mk
SUBDIRS ?= $(FIND_SUBDIRS)
ifeq ($(SUBDIRS),)
ifeq ($(SUBDIRS_TO_ITERATE),)
all:
subdirs:
@ -18,7 +18,7 @@ clean distclean:
install:
else
.PHONY: $(SUBDIRS)
.PHONY: $(SUBDIRS_TO_ITERATE)
all subdirs:
$(make_subdirs)