summaryrefslogtreecommitdiff
path: root/mk/gcc.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/gcc.mk')
-rw-r--r--mk/gcc.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/gcc.mk b/mk/gcc.mk
index 1488b75..33e9630 100644
--- a/mk/gcc.mk
+++ b/mk/gcc.mk
@@ -1,6 +1,6 @@
################################################################################
# Embtoolkit
-# Copyright(C) 2009-2013 Abdoulaye Walsimou GAYE.
+# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -198,6 +198,10 @@ CONFIG_EMBTK_GCC3_REFSPEC := $(CONFIG_EMBTK_GCC_REFSPEC)
define embtk_postinstallonce_gcc3
$(__embtk_postinstall_gcc2_gcc3)
+ $(if $(CONFIG_EMBTK_WIPEOUTWORKSPACES),
+ $(embtk_cleanup_gcc1)
+ $(embtk_cleanup_gcc3)
+ $(embtk_cleanup_gcc3))
endef
#