From: Felix Fietkau Date: Sat, 28 Jul 2007 02:53:54 +0000 (+0000) Subject: don't force the install->compile, compile->prepare dependencies in subdir.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02a7e555debc912845757f1609a159ee3c2af4b4;p=openwrt%2Fstaging%2Frmilecki.git don't force the install->compile, compile->prepare dependencies in subdir.mk SVN-Revision: 8202 --- diff --git a/include/subdir.mk b/include/subdir.mk index 81a6f2a428b..fe46ed0de04 100644 --- a/include/subdir.mk +++ b/include/subdir.mk @@ -23,8 +23,6 @@ $(call warn,$(1),$(2),$(3) $(4)) $(4) endef -dep/compile=$(1)/prepare -dep/install=$(1)/compile SUBTARGETS:=clean download prepare compile install update refresh prereq # Parameters: @@ -33,7 +31,7 @@ define subdir $(foreach bd,$($(1)/builddirs), $(call warn,$(1),d,BD $(1)/$(bd)) $(foreach target,$(SUBTARGETS), - $(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(target): $(call dep/$(target),$(1)/$(bd)) $($(1)/$(bd)/$(target)) $($(1)//$(target))) + $(call warn_eval,$(1)/$(bd),t,T,$(1)/$(bd)/$(target): $($(1)/$(bd)/$(target)) $(call $(1)//$(target),$(1)/$(bd))) @$$(MAKE) -j1 -C $(1)/$(bd) $(target) # legacy targets diff --git a/tools/Makefile b/tools/Makefile index 0d6b5159773..49b30be44b0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -23,6 +23,9 @@ $(STAGING_DIR)/include-host/.done: # prerequisites for the individual targets $(curdir)/ := .config -$(curdir)//prepare := $(STAGING_DIR)/include-host/.done +$(curdir)//prepare = $(STAGING_DIR)/include-host/.done +$(curdir)//compile = $(1)/prepare +$(curdir)//install = $(1)/compile + $(eval $(call stampfile,$(curdir),tools)) $(eval $(call subdir,$(curdir)))