mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Don't generate .depend anymore
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
/Make.dep
|
||||
/.depend
|
||||
/up_mem.h
|
||||
/asm_mem.h
|
||||
/board
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user