1
0
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:
Leandro Lanzieri 2020-11-05 13:32:10 +01:00
parent eeffc9ca08
commit 5e0ce392d1
No known key found for this signature in database
GPG Key ID: 13559905E2EBEAA5

View File

@ -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))