Don't generate .depend anymore

This commit is contained in:
Xiang Xiao
2020-03-22 13:15:29 -05:00
committed by GitHub
parent 1b4425ab5d
commit 79af7fbf4e
231 changed files with 155 additions and 460 deletions
-1
View File
@@ -1,5 +1,4 @@
/Make.dep
/.depend
/up_mem.h
/asm_mem.h
/board
+3 -5
View File
@@ -208,14 +208,13 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Build dependencies
.depend: Makefile asm_mem.h chip/Make.defs $(DEPSRCS)
Make.dep: Makefile asm_mem.h chip/Make.defs $(DEPSRCS)
$(Q) if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep
$(Q) touch $@
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
depend: .depend
depend: Make.dep
clean:
$(Q) if [ -e board/Makefile ]; then \
@@ -231,6 +230,5 @@ distclean: clean
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep
+3 -5
View File
@@ -202,12 +202,11 @@ export_startup: board\libboard$(LIBEXT) $(STARTUP_OBJS)
# Build dependencies
.depend: Makefile asm_mem.h chip\Make.defs $(DEPSRCS)
Make.dep: Makefile asm_mem.h chip\Make.defs $(DEPSRCS)
$(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend )
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep
$(Q) touch $@
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
depend: .depend
depend: Make.dep
clean:
$(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" clean )
@@ -219,6 +218,5 @@ clean:
distclean: clean
$(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean )
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep
+3 -5
View File
@@ -139,12 +139,11 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board$(DELIM)libboard$(LIBEXT) nuttx.linkcmd
@echo "LD: nuttx$(EXEEXT)"
$(Q) "$(LD)" $(LDFLAGS)
.depend: Makefile chip$(DELIM)Make.defs $(DEPSRCS)
Make.dep: Makefile chip$(DELIM)Make.defs $(DEPSRCS)
$(Q) if [ -e board$(DELIM)Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep
$(Q) touch $@
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
# This is part of the top-level export target
@@ -158,7 +157,7 @@ export_startup: board$(DELIM)libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies
depend: .depend
depend: Make.dep
clean:
$(Q) if [ -e board$(DELIM)Makefile ]; then \
@@ -176,6 +175,5 @@ distclean: clean
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep
+3 -5
View File
@@ -128,10 +128,9 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board$(DELIM)libboard$(LIBEXT) nuttx.linkcmd
@echo "LD: nuttx$(EXEEXT)"
$(Q) "$(LD)" $(LDFLAGS)
.depend: Makefile chip$(DELIM)Make.defs $(DEPSRCS)
Make.dep: Makefile chip$(DELIM)Make.defs $(DEPSRCS)
$(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend )
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep
$(Q) touch $@
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
# This is part of the top-level export target
@@ -140,7 +139,7 @@ export_startup: board$(DELIM)libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies
depend: .depend
depend: Make.dep
clean:
$(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" clean )
@@ -154,6 +153,5 @@ clean:
distclean: clean
$(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean )
$(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep