diff --git a/Makefile b/Makefile index 4ccce9942..81f110d24 100644 --- a/Makefile +++ b/Makefile @@ -154,6 +154,7 @@ depend: .depend clean_context: $(Q) $(MAKE) -C platform clean_context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" + $(Q) $(MAKE) -C builtin/registry clean_context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)" clean: $(foreach SDIR, $(CLEANDIRS), $(SDIR)_clean) $(call DELFILE, $(SYMTABSRC)) diff --git a/builtin/registry/Makefile b/builtin/registry/Makefile index bf04a87f5..c4e046644 100644 --- a/builtin/registry/Makefile +++ b/builtin/registry/Makefile @@ -55,7 +55,9 @@ depend: clean: $(call CLEAN) -distclean: clean +clean_context: $(call DELFILE, *.bdat) $(call DELFILE, *.pdat) + +distclean: clean $(call DELFILE, .updated)