mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Makefile: drop config cache on .config changes
The config cache might contain invalid values when .config is changed (E.G. when adding/removing libraries), so drop it so config checks are rerun for new packages (existing package still won't be rebuilt). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
b06c9cb16c
commit
b5972138c3
8
Makefile
8
Makefile
@ -440,6 +440,14 @@ external-deps:
|
|||||||
@$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
|
@$(MAKE) -Bs BR2_WGET=$(TOPDIR)/toolchain/wget-show-external-deps.sh \
|
||||||
SPIDER=--spider source
|
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)
|
else # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
|
||||||
|
|
||||||
all: menuconfig
|
all: menuconfig
|
||||||
|
Loading…
x
Reference in New Issue
Block a user