diff --git a/makefiles/kconfig.mk b/makefiles/kconfig.mk index 2d91fbe18f..b4d40658ee 100644 --- a/makefiles/kconfig.mk +++ b/makefiles/kconfig.mk @@ -176,7 +176,7 @@ GENERATED_DIR_DEP := $(if $(CLEAN),,|) $(GENERATED_DIR) # Generates a .config file by merging multiple sources specified in # MERGE_SOURCES. This will also generate KCONFIG_OUT_DEP with the list of used # Kconfig files. -$(KCONFIG_OUT_CONFIG): $(KCONFIG_EXTERNAL_CONFIGS) +$(KCONFIG_OUT_CONFIG): $(KCONFIG_EXTERNAL_CONFIGS) | pkg-prepare $(KCONFIG_OUT_CONFIG): $(GENERATED_DEPENDENCIES_DEP) $(GENCONFIG) $(MERGE_SOURCES) $(GENERATED_DIR_DEP) $(Q) $(GENCONFIG) \ --config-out=$(KCONFIG_OUT_CONFIG) \