summaryrefslogtreecommitdiff
path: root/mk/buildsystem.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/buildsystem.mk')
-rw-r--r--mk/buildsystem.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/buildsystem.mk b/mk/buildsystem.mk
index 85c2e3f..45beb1a 100644
--- a/mk/buildsystem.mk
+++ b/mk/buildsystem.mk
@@ -74,6 +74,7 @@ embtk_kconfig_basic:
clean: toolchain_clean rmallpath
$(Q)$(__embtk_kconfig_clean)
$(Q)rm -rf .config kbuild.log .fakeroot*
+ $(Q)rm -rf $(embtk_generated)/toolchain*/*.embtk.decompressed
distclean: clean
$(Q)rm -rf dl/* src/*.git src/*.svn .config.old
@@ -127,7 +128,7 @@ define __embtk_mk_startbuild
endef
startbuild:
- $(if $(call __embtk_mk_pathexist,$(call __embtk_pkg_dotinstalled_f,gcc3)), \
+ $(if $(wildcard $(call __embtk_pkg_dotdecompressed_f,toolchain)), \
$(__embtk_mk_pwarning_restartbuild),$(__embtk_mk_startbuild))
define __embtk_mk_initsysrootdirs