makefiles/kconfig: run kconfig always when menuconfig is called
This commit is contained in:
parent
eeffc9ca08
commit
5e0ce392d1
@ -85,8 +85,11 @@ $(GENERATED_DIR): $(if $(MAKE_RESTARTS),,$(CLEAN))
|
|||||||
# build.
|
# build.
|
||||||
SHOULD_RUN_KCONFIG ?= $(or $(wildcard $(APPDIR)/*.config), \
|
SHOULD_RUN_KCONFIG ?= $(or $(wildcard $(APPDIR)/*.config), \
|
||||||
$(wildcard $(APPDIR)/Kconfig), \
|
$(wildcard $(APPDIR)/Kconfig), \
|
||||||
$(if $(CLEAN),,$(wildcard $(KCONFIG_OUT_CONFIG))), \
|
$(if $(CLEAN),,$(wildcard $(KCONFIG_OUT_CONFIG))))
|
||||||
$(filter menuconfig, $(MAKECMDGOALS)))
|
|
||||||
|
ifneq (,$(filter menuconfig, $(MAKECMDGOALS)))
|
||||||
|
SHOULD_RUN_KCONFIG := 1
|
||||||
|
endif
|
||||||
|
|
||||||
# When testing Kconfig we should always run it
|
# When testing Kconfig we should always run it
|
||||||
ifeq (1,$(TEST_KCONFIG))
|
ifeq (1,$(TEST_KCONFIG))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user