From 4fec70617a95a83c757245acbbe57f71f25c87e9 Mon Sep 17 00:00:00 2001 From: nbd Date: Thu, 12 Mar 2009 14:07:08 +0000 Subject: [PATCH] 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 --- include/host-build.mk | 5 +++-- 1 file 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