diff --git a/Directory.mk b/Directory.mk index eb528b696..82bb719c7 100644 --- a/Directory.mk +++ b/Directory.mk @@ -46,7 +46,7 @@ all: nothing define SDIR_template $(1)_$(2): - $(Q) $(MAKE) -C $(1) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" + $(Q) cd $(1) $(MAKE) $(2) TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" endef $(foreach SDIR, $(SUBDIRS), $(eval $(call SDIR_template,$(SDIR),preconfig)))