diff --git a/Makefile b/Makefile index 904121e2e4..f8303e1376 100644 --- a/Makefile +++ b/Makefile @@ -440,6 +440,14 @@ external-deps: @$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \ SPIDER=--spider source +ifeq ($(BR2_CONFIG_CACHE),y) +$(BUILD_DIR)/tgt-config.cache: .config + rm -f $@ + touch $@ + +$(BASE_TARGETS): | $(BUILD_DIR)/tgt-config.cache +endif + else # ifeq ($(BR2_HAVE_DOT_CONFIG),y) all: menuconfig