summaryrefslogtreecommitdiff
path: root/mk/toolchain.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-01-21 20:04:06 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-01-21 20:04:06 +0100
commit97928cab4442cfab746142d1247c133bac65c5f7 (patch)
treeace5122a94128fbf66208e43fdbee52310658297 /mk/toolchain.mk
parentd6cd434d703ddb1a6d5ba813d6533408b45850d5 (diff)
downloadembtoolkit-97928cab4442cfab746142d1247c133bac65c5f7.tar.gz
embtoolkit-97928cab4442cfab746142d1247c133bac65c5f7.tar.bz2
embtoolkit-97928cab4442cfab746142d1247c133bac65c5f7.tar.xz
Build system: create FORCE and .PHONY targets to try to improve performance
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/toolchain.mk')
-rw-r--r--mk/toolchain.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/toolchain.mk b/mk/toolchain.mk
index 14d35ef..dd85fe8 100644
--- a/mk/toolchain.mk
+++ b/mk/toolchain.mk
@@ -178,7 +178,7 @@ __embtk_toolchain_addons_inst = $(strip $(if $(call __embtk_pkg_installed-y,tool
__embtk_toolchain_buildargs = $(__embtk_toolchain_core_inst)
__embtk_toolchain_buildargs += $(__embtk_toolchain_addons_inst)
-buildtoolchain:
+buildtoolchain: FORCE
$(Q)$(call __embtk_toolchain_build,$(__embtk_toolchain_buildargs))
# Download target for offline build
@@ -186,3 +186,6 @@ TOOLCHAIN_ALL_DEPS := $(TOOLCHAIN_PRE_DEPS) $(TOOLCHAIN_DEPS)
TOOLCHAIN_ALL_DEPS += $(TOOLCHAIN_ADDONS_DEPS)
packages_fetch:: $(patsubst %_install,download_%,$(TOOLCHAIN_ALL_DEPS))
+
+EMBTK_PHONIES += buildtoolchain $(TOOLCHAIN_PRE_DEPS)
+EMBTK_PHONIES += $(TOOLCHAIN_ADDONS-y) $(TOOLCHAIN_ADDONS-)