diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-17 16:21:44 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2013-03-17 16:21:44 +0100 |
commit | 45cb9b20d9cd20ade6f1bf2bc8c6ca09d62414fa (patch) | |
tree | 6ebee2f795b51be36db88a2880676d025bebd13e | |
parent | bab5e089b65e2fe490c4629794a46f6c9593317b (diff) | |
download | embtoolkit-45cb9b20d9cd20ade6f1bf2bc8c6ca09d62414fa.tar.gz embtoolkit-45cb9b20d9cd20ade6f1bf2bc8c6ca09d62414fa.tar.bz2 embtoolkit-45cb9b20d9cd20ade6f1bf2bc8c6ca09d62414fa.tar.xz |
Toolchain: gcc: prevent stage reinstall
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | mk/gcc.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -154,9 +154,11 @@ CONFIG_EMBTK_GCC2_VERSION_GIT := $(CONFIG_EMBTK_GCC_VERSION_GIT) CONFIG_EMBTK_GCC2_REFSPEC := $(CONFIG_EMBTK_GCC_REFSPEC) define embtk_postinstall_gcc2 - $(if $(CONFIG_EMBTK_LLVM_ONLY_TOOLCHAIN), + $(if $(CONFIG_EMBTK_LLVM_ONLY_TOOLCHAIN), \ [ -e $(GCC2_BUILD_DIR)/.gcc.embtk.postinstall ] || \ - $(__embtk_postinstall_gcc2_gcc3),true) + $(__embtk_postinstall_gcc2_gcc3) && \ + touch $(GCC2_BUILD_DIR)/.gcc.embtk.postinstall, \ + true) endef # |