From 26082e79af64550d16fb1e314a904456b90a464e Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 20 Jun 2010 15:08:15 +0200 Subject: Introduce support for host config cache We now have for quite some time a configuration cache used to speed-up the execution of ./configure scripts when compiling programs for the target. This commit introduces a similar concept when Buildroot compiles programs for the host. Signed-off-by: Thomas Petazzoni --- package/Makefile.autotools.in | 1 + 1 file changed, 1 insertion(+) (limited to 'package') diff --git a/package/Makefile.autotools.in b/package/Makefile.autotools.in index 318bd714a..337aee488 100644 --- a/package/Makefile.autotools.in +++ b/package/Makefile.autotools.in @@ -117,6 +117,7 @@ define $(2)_CONFIGURE_CMDS LDFLAGS="$$(HOST_LDFLAGS)" \ $$($$(PKG)_CONF_ENV) \ ./configure \ + $$(if $$(filter YES,$$($$(PKG)_USE_CONFIG_CACHE)),--cache-file="$(BUILD_DIR)/host-config.cache",) \ --prefix="$$(HOST_DIR)/usr" \ --sysconfdir="$$(HOST_DIR)/etc" \ $$($$(PKG)_CONF_OPT) \ -- cgit v1.2.3