diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-08-27 23:08:02 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-08-27 23:08:02 +0200 |
commit | 07761f3e304952056e066a8ff7d7a2a8801cbaa2 (patch) | |
tree | 13d6f137c69793333c142456e7876ae29a0ddef4 /mk/gcc.mk | |
parent | d20a87043c8a1571d35e8628e38f3e7bec402348 (diff) | |
download | embtoolkit-07761f3e304952056e066a8ff7d7a2a8801cbaa2.tar.gz embtoolkit-07761f3e304952056e066a8ff7d7a2a8801cbaa2.tar.bz2 embtoolkit-07761f3e304952056e066a8ff7d7a2a8801cbaa2.tar.xz |
Toolchain: gcc: use embtk_postinstall hook for third stage
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/gcc.mk')
-rw-r--r-- | mk/gcc.mk | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -59,8 +59,6 @@ endif gcc%_install: $(call embtk_install_hostpkg,$(patsubst %_install,%,$@)) - $(Q)$(if $(call __embtk_mk_strcmp,$@,gcc3_install), \ - $(MAKE) gcc3_post_install) # # GCC first stage @@ -128,9 +126,10 @@ GCC3_CONFIGURE_OPTS := --with-sysroot=$(SYSROOT) \ --enable-threads --enable-shared --enable-target-optspace \ $(GCC3_CONFIGURE_EXTRA_OPTIONS) -gcc3_post_install: +define embtk_postinstall_gcc3 $(Q)test -e $(GCC3_BUILD_DIR)/.gcc3_post_install || \ $(MAKE) $(GCC3_BUILD_DIR)/.gcc3_post_install +endef $(GCC3_BUILD_DIR)/.gcc3_post_install: ifeq ($(CONFIG_EMBTK_32BITS_FS),y) |