Don't generate .depend anymore

This commit is contained in:
Xiang Xiao 2020-03-22 13:15:21 -05:00 committed by GitHub
parent 6ddf347178
commit cc5ad09caa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
254 changed files with 6 additions and 266 deletions

1
.gitignore vendored
View File

@ -1,4 +1,3 @@
.depend
Make.dep
*.o
*.a

View File

@ -218,15 +218,14 @@ else
context::
endif
.depend: Makefile $(SRCS)
Make.dep: Makefile $(SRCS)
ifeq ($(filter %$(CXXEXT),$(SRCS)),)
$(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(filter-out Makefile,$^) >Make.dep
$(Q) $(MKDEP) $(ROOTDEPPATH) "$(CC)" -- $(CFLAGS) -- $(filter-out Makefile,$^) >$@
else
$(Q) $(MKDEP) $(ROOTDEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(filter-out Makefile,$^) >Make.dep
$(Q) $(MKDEP) $(ROOTDEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(filter-out Makefile,$^) >$@
endif
$(Q) touch $@
depend:: .depend
depend:: Make.dep
clean::
$(call DELFILE, .built)
@ -234,6 +233,5 @@ clean::
distclean:: clean
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep

View File

@ -58,7 +58,7 @@ SYMTABOBJ = $(SYMTABSRC:.c=$(OBJEXT))
# Build targets
all: $(BIN)
.PHONY: import install dirlinks context context_serialize clean_context context_rest export .depdirs preconfig depend clean distclean
.PHONY: import install dirlinks context context_serialize clean_context context_rest export preconfig depend clean distclean
.PRECIOUS: $(BIN)
$(foreach SDIR, $(CONFIGURED_APPS), $(eval $(call SDIR_template,$(SDIR),all)))
@ -155,12 +155,7 @@ ifneq ($(BUILTIN_REGISTRY),)
endif
endif
.depdirs: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_depend)
.depend: Makefile .depdirs
$(Q) touch $@
depend: .depend
depend: $(foreach SDIR, $(CONFIGURED_APPS), $(SDIR)_depend)
clean_context:
$(Q) $(MAKE) -C platform clean_context TOPDIR="$(TOPDIR)" APPDIR="$(APPDIR)"
@ -189,7 +184,6 @@ else
)
endif
$(call DELFILE, *.lock)
$(call DELFILE, .depend)
$(call DELFILE, $(SYMTABSRC))
$(call DELFILE, $(SYMTABOBJ))
$(call DELFILE, $(BIN))

1
builtin/.gitignore vendored
View File

@ -1,5 +1,4 @@
/.context
/.depend
/.built
/Make.dep
/builtin_list.h

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/Make.dep
/.context
/.depend
/.built
/*.asm
/*.rel

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/romfs.img
/romfs.h

View File

@ -1,6 +1,5 @@
/hello
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/bridge_config.h
/host1

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/hello
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.o1
/*.asm

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/Make.dep
/.context
/.depend
/.built
/*.asm
/*.rel

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,3 +1,2 @@
/Make.dep
/.depend
/.built

View File

@ -1,6 +1,5 @@
/hello
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/config.h

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/hello
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/*.asm

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/hello
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/*.asm

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,3 +1,2 @@
/Make.dep
/.depend
/.built

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/hello
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/*.asm

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/config.h

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,6 +1,5 @@
/Make.dep
/.context
/.depend
/.built
/*.asm
/*.rel

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,3 +1,2 @@
/Make.dep
/.depend
/.built

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.rel

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/*.asm

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/host
/*.asm

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

View File

@ -1,5 +1,4 @@
/Make.dep
/.depend
/.built
/*.asm
/*.obj

Some files were not shown because too many files have changed in this diff Show More