Commit 5f71fc1f authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Peter Korsgaard
Browse files

Remove support for shared configuration cache



The configuration cache shared between packages, while being in
principle a nice idea to speed-up the configuration of packages by
avoiding repetitive identical checks, turned out to be unreliable due
to the subtle differences between similar but not identical checks in
different packages. After spending some time trying to fix those, we
concluded that supporting the shared configuration cache is definitely
too hard and too unreliable, and that we'd better get rid of it
altogether.

This patch therefore removes the shared configuration cache
infrastructure and usage.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 504a4ad0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@
	Download handling reworked and support for git/svn downloads
	added.

	Removed experimental shared config.cache support, as it is
	too unreliable.

	A convenience Makefile wrapper is created when using
	out-of-tree building, similar to how it is done for the kernel.

+0 −14
Original line number Diff line number Diff line
@@ -256,20 +256,6 @@ config BR2_HAVE_DEVFILES
	  Install headers and static libraries in the
	  target filesystem

menu "Advanced"

config BR2_CONFIG_CACHE
	bool "Use a central configure cache file (EXPERIMENTAL)"
	help
	  Notice: This is experimental and known to break with certain
	  package combinations.

	  This determines if a central config cache is used by
	  packages, reducing the configure time for packages as each
	  one caches its findings.

endmenu

endmenu

source "toolchain/Config.in"
+0 −9
Original line number Diff line number Diff line
@@ -447,15 +447,6 @@ external-deps:
show-targets:
	@echo $(TARGETS)

ifeq ($(BR2_CONFIG_CACHE),y)
# drop configure caches if configuration is changed
$(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache: $(CONFIG_DIR)/.config
	rm -f $@
	touch $@

$(BASE_TARGETS): | $(BUILD_DIR)/tgt-config.cache $(BUILD_DIR)/host-config.cache
endif

else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)

all: menuconfig
+0 −1
Original line number Diff line number Diff line
@@ -155,7 +155,6 @@ BR2_OPTIMIZE_2=y
#
# Advanced
#
# BR2_CONFIG_CACHE is not set

#
# Toolchain
+0 −1
Original line number Diff line number Diff line
@@ -160,7 +160,6 @@ BR2_TOPDIR_SUFFIX=""
BR2_ROOTFS_PREFIX="rootfs"
BR2_JLEVEL=2
# BR2_DEPRECATED is not set
# BR2_CONFIG_CACHE is not set
# BR2_ENABLE_DEBUG is not set
BR2_STRIP_strip=y
# BR2_STRIP_sstrip is not set
Loading