mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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 <thomas.petazzoni@free-electrons.com>
This commit is contained 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) \
|
||||
|
||||
Reference in New Issue
Block a user