diff options
author | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-05-18 00:56:54 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <walsimou@walsimou.com> | 2009-05-18 00:56:54 +0200 |
commit | 7a8dd941789b2b374a2d085f40f0e0820cbe5c16 (patch) | |
tree | 9d33144e11fdd8bc33d864f9f1b0ad5b9451b750 | |
parent | 4a9f82c5e24e7acd8978f3f3e72d0eb7de55aaa6 (diff) | |
download | embtoolkit-7a8dd941789b2b374a2d085f40f0e0820cbe5c16.tar.gz embtoolkit-7a8dd941789b2b374a2d085f40f0e0820cbe5c16.tar.bz2 embtoolkit-7a8dd941789b2b374a2d085f40f0e0820cbe5c16.tar.xz |
Convert gmphost and mpfrhost to use ccache
Signed-off-by: Abdoulaye Walsimou Gaye <walsimou@walsimou.com>
-rw-r--r-- | mk/gmphost.mk | 8 | ||||
-rw-r--r-- | mk/mpfrhost.mk | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/mk/gmphost.mk b/mk/gmphost.mk index 2ce8cd1..2ef7930 100644 --- a/mk/gmphost.mk +++ b/mk/gmphost.mk @@ -47,8 +47,10 @@ $(GMP_HOST_BUILD_DIR)/.decompressed: @touch $@ $(GMP_HOST_BUILD_DIR)/.configured: + $(call EMBTK_GENERIC_MESSAGE,"gmphost: Configuring gmp-$(GMP_HOST_VERSION) ...") @mkdir -p $(GMP_HOST_DIR) - @cd $(GMP_HOST_BUILD_DIR); $(TOOLS_BUILD)/gmp-$(GMP_HOST_VERSION)/configure \ - --prefix=$(GMP_HOST_DIR) --disable-shared --enable-static \ - --build=$(HOST_BUILD) --host=$(HOST_ARCH) + cd $(GMP_HOST_BUILD_DIR); CC=$(HOSTCC_CACHED) CXX=$(HOSTCXX_CACHED) \ + $(TOOLS_BUILD)/gmp-$(GMP_HOST_VERSION)/configure \ + --prefix=$(GMP_HOST_DIR) --disable-shared --enable-static \ + --build=$(HOST_BUILD) --host=$(HOST_ARCH) @touch $@ diff --git a/mk/mpfrhost.mk b/mk/mpfrhost.mk index 54aed51..2680454 100644 --- a/mk/mpfrhost.mk +++ b/mk/mpfrhost.mk @@ -56,8 +56,10 @@ ifeq ($(CONFIG_EMBTK_MPFR_HOST_VERSION_PATCH),y) endif $(MPFR_HOST_BUILD_DIR)/.configured: + $(call EMBTK_GENERIC_MESSAGE,"mpfrhost: Configuring mpfr-$(MPFR_HOST_VERSION) ...") @mkdir -p $(MPFR_HOST_DIR) - @cd $(MPFR_HOST_BUILD_DIR); $(TOOLS_BUILD)/mpfr-$(MPFR_HOST_VERSION)/configure \ + cd $(MPFR_HOST_BUILD_DIR); CC=$(HOSTCC_CACHED) CXX=$(HOSTCXX_CACHED) \ + $(TOOLS_BUILD)/mpfr-$(MPFR_HOST_VERSION)/configure \ --prefix=$(MPFR_HOST_DIR) --disable-shared --enable-static --with-gmp=$(GMP_HOST_DIR) \ --build=$(HOST_BUILD) --host=$(HOST_ARCH) @touch $@ |