mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
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.
|
||||
SHOULD_RUN_KCONFIG ?= $(or $(wildcard $(APPDIR)/*.config), \
|
||||
$(wildcard $(APPDIR)/Kconfig), \
|
||||
$(if $(CLEAN),,$(wildcard $(KCONFIG_OUT_CONFIG))), \
|
||||
$(filter menuconfig, $(MAKECMDGOALS)))
|
||||
$(if $(CLEAN),,$(wildcard $(KCONFIG_OUT_CONFIG))))
|
||||
|
||||
ifneq (,$(filter menuconfig, $(MAKECMDGOALS)))
|
||||
SHOULD_RUN_KCONFIG := 1
|
||||
endif
|
||||
|
||||
# When testing Kconfig we should always run it
|
||||
ifeq (1,$(TEST_KCONFIG))
|
||||
|
Loading…
Reference in New Issue
Block a user