From: nbd Date: Thu, 12 Mar 2009 14:07:08 +0000 (+0000) Subject: make the compile: host-install dependency independent of the order in which the makef... X-Git-Url: http://git.rohieb.name/openwrt.git/commitdiff_plain/4fec70617a95a83c757245acbbe57f71f25c87e9 make the compile: host-install dependency independent of the order in which the makefiles were included git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14853 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/include/host-build.mk b/include/host-build.mk index e92c7b3e6..a0ffd83b6 100644 --- a/include/host-build.mk +++ b/include/host-build.mk @@ -122,7 +122,7 @@ ifndef DUMP host-install: $(HOST_STAMP_INSTALLED) endif - download: + $(if $(STAMP_BUILT),compile: host-install) host-prepare: $(HOST_STAMP_PREPARED) host-configure: $(HOST_STAMP_CONFIGURED) host-compile: $(HOST_STAMP_BUILT) @@ -134,8 +134,9 @@ ifndef DUMP endef + download: prepare: host-prepare - compile: host-compile $(if $(STAMP_BUILT),host-install) + compile: host-compile install: host-install clean: host-clean