summaryrefslogtreecommitdiffstats
path: root/include/host-build.mk
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-12 14:07:08 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-12 14:07:08 +0000
commit4fec70617a95a83c757245acbbe57f71f25c87e9 (patch)
treec451eb6208583b77b4e470654ae2984206785c55 /include/host-build.mk
parent3f60e535377f213c9e718eeeda40386e6f16b052 (diff)
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
Diffstat (limited to 'include/host-build.mk')
-rw-r--r--include/host-build.mk5
1 files changed, 3 insertions, 2 deletions
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