Directory.mk: Always generate and remove .kconfig

since .kconfig is required to trigger the recursive processing

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-03-13 20:33:58 +08:00 committed by Petro Karashchenko
parent e599bbcd24
commit fc1045271a

View File

@ -47,15 +47,15 @@ install:
preconfig: $(foreach SDIR, $(CONFIGSUBDIRS), $(SDIR)_preconfig)
ifneq ($(MENUDESC),)
$(Q) $(MKKCONFIG) -m $(MENUDESC)
$(Q) touch .kconfig
endif
$(Q) touch .kconfig
clean: $(foreach SDIR, $(CLEANSUBDIRS), $(SDIR)_clean)
distclean: $(foreach SDIR, $(CLEANSUBDIRS), $(SDIR)_distclean)
ifneq ($(MENUDESC),)
$(call DELFILE, Kconfig)
$(call DELFILE, .kconfig)
endif
$(call DELFILE, .kconfig)
-include Make.dep