diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-01-13 00:38:15 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-01-13 00:38:15 +0100 |
commit | 80df8b8b74ae3546ef39361f35845aec0e87cbdc (patch) | |
tree | 8bd45bb69ff05a7c978ffe3e425c8b45520c7648 /mk | |
parent | dddb57318f136e7ea0b5b8a90d46a1162da0f39b (diff) | |
download | embtoolkit-80df8b8b74ae3546ef39361f35845aec0e87cbdc.tar.gz embtoolkit-80df8b8b74ae3546ef39361f35845aec0e87cbdc.tar.bz2 embtoolkit-80df8b8b74ae3546ef39361f35845aec0e87cbdc.tar.xz |
Toolchain: gcc: wipe out builddir if requested
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/gcc.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 # |