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,4 +1,3 @@
.depend
Make.dep Make.dep
*.o *.o
*.a *.a
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/locked.r /locked.r
/board /board
+3 -5
View File
@@ -207,15 +207,14 @@ endif
# Dependencies # Dependencies
.depend: Makefile chip$(DELIM)Make.defs $(SRCS) Make.dep: Makefile chip$(DELIM)Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \ $(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -231,6 +230,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/locked.r /locked.r
/board /board
+3 -5
View File
@@ -163,15 +163,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -185,6 +184,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/board /board
/chip /chip
+3 -5
View File
@@ -162,15 +162,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -184,6 +183,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/board /board
/chip /chip
+3 -5
View File
@@ -160,15 +160,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -182,6 +181,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/locked.r /locked.r
/board /board
+3 -5
View File
@@ -164,15 +164,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -186,6 +185,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/locked.r /locked.r
/board /board
+3 -5
View File
@@ -202,15 +202,14 @@ endif
# Dependencies # Dependencies
.depend: Makefile chip$(DELIM)Make.defs $(SRCS) Make.dep: Makefile chip$(DELIM)Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \ $(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -226,6 +225,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
+3 -5
View File
@@ -169,14 +169,13 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -190,6 +189,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/locked.r /locked.r
/board /board
+3 -5
View File
@@ -199,15 +199,14 @@ endif
# Dependencies # Dependencies
.depend: Makefile $(SRCS) Make.dep: Makefile $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \ $(Q) $(MKDEP) $(patsubst %,--dep-path %,$(subst :, ,$(VPATH))) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) > Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) > $@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -224,7 +223,6 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
info: info:
@echo $(HEAD_OBJ) @echo $(HEAD_OBJ)
-1
View File
@@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.depend
/Cygwin-names.dat /Cygwin-names.dat
/Msys-names.dat /Msys-names.dat
/Linux-names.dat /Linux-names.dat
+3 -5
View File
@@ -310,14 +310,13 @@ export_startup: board/libboard$(LIBEXT) up_head.o $(HOSTOBJS)
# Dependencies # Dependencies
.depend: Makefile $(SRCS) Make.dep: Makefile $(SRCS)
$(Q) if [ -e board/Makefile ]; then \ $(Q) if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi fi
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
cleanrel: cleanrel:
$(Q) rm -f nuttx.rel $(HOSTOS)-names.dat $(Q) rm -f nuttx.rel $(HOSTOS)-names.dat
@@ -335,7 +334,6 @@ distclean: clean
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi fi
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
$(call DELFILE, hostfs.h) $(call DELFILE, hostfs.h)
$(Q) rm -rf GNU $(Q) rm -rf GNU
-1
View File
@@ -1,4 +1,3 @@
/chip /chip
/board /board
/.depend
/Make.dep /Make.dep
+3 -5
View File
@@ -168,15 +168,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -190,6 +189,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/chip /chip
/board /board
/.depend
/Make.dep /Make.dep
+3 -5
View File
@@ -157,15 +157,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -179,6 +178,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,4 +1,3 @@
/.depend
/Make.dep /Make.dep
/board /board
/chip /chip
+3 -5
View File
@@ -161,15 +161,14 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
.depend: Makefile chip/Make.defs $(SRCS) Make.dep: Makefile chip/Make.defs $(SRCS)
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" depend
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \ $(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(BOARDMAKE),y) ifeq ($(BOARDMAKE),y)
@@ -183,6 +182,5 @@ ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean $(Q) $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.depend
/board /board
/chip /chip
/nuttx.linkcmd /nuttx.linkcmd
+3 -5
View File
@@ -133,7 +133,7 @@ nuttx$(EXEEXT): $(HEAD_OBJ) board/libboard$(LIBEXT) nuttx.linkcmd
@echo "LD: nuttx$(EXEEXT)" @echo "LD: nuttx$(EXEEXT)"
$(Q) $(LD) $(LDFLAGS) $(Q) $(LD) $(LDFLAGS)
.depend: Makefile chip/Make.defs $(DEPSRCS) Make.dep: Makefile chip/Make.defs $(DEPSRCS)
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
$(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ) $(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend )
else else
@@ -141,8 +141,7 @@ else
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi fi
endif endif
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
$(Q) touch $@
# This is part of the top-level export target # This is part of the top-level export target
@@ -160,7 +159,7 @@ endif
# Dependencies # Dependencies
depend: .depend depend: Make.dep
clean: clean:
ifeq ($(CONFIG_WINDOWS_NATIVE),y) ifeq ($(CONFIG_WINDOWS_NATIVE),y)
@@ -188,6 +187,5 @@ else
fi fi
endif endif
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.depend
/up_mem.h /up_mem.h
/asm_mem.h /asm_mem.h
/board /board
+3 -5
View File
@@ -208,14 +208,13 @@ export_startup: board/libboard$(LIBEXT) $(STARTUP_OBJS)
# Build dependencies # 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 \ $(Q) if [ -e board/Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi fi
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
$(Q) if [ -e board/Makefile ]; then \ $(Q) if [ -e board/Makefile ]; then \
@@ -231,6 +230,5 @@ distclean: clean
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi fi
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
+3 -5
View File
@@ -202,12 +202,11 @@ export_startup: board\libboard$(LIBEXT) $(STARTUP_OBJS)
# Build dependencies # 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) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" depend )
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
$(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" clean ) $(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" clean )
@@ -219,6 +218,5 @@ clean:
distclean: clean distclean: clean
$(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ) $(Q) if exist board\Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean )
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -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)" @echo "LD: nuttx$(EXEEXT)"
$(Q) "$(LD)" $(LDFLAGS) $(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 \ $(Q) if [ -e board$(DELIM)Makefile ]; then \
$(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
fi fi
$(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >Make.dep $(Q) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
$(Q) touch $@
# This is part of the top-level export target # This is part of the top-level export target
@@ -158,7 +157,7 @@ export_startup: board$(DELIM)libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
depend: .depend depend: Make.dep
clean: clean:
$(Q) if [ -e board$(DELIM)Makefile ]; then \ $(Q) if [ -e board$(DELIM)Makefile ]; then \
@@ -176,6 +175,5 @@ distclean: clean
$(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \ $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ; \
fi fi
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -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)" @echo "LD: nuttx$(EXEEXT)"
$(Q) "$(LD)" $(LDFLAGS) $(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) 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) $(MKDEP) --dep-path chip --dep-path common "$(CC)" -- $(CFLAGS) -- $(DEPSRCS) >$@
$(Q) touch $@
# This is part of the top-level export target # This is part of the top-level export target
@@ -140,7 +139,7 @@ export_startup: board$(DELIM)libboard$(LIBEXT) $(STARTUP_OBJS)
# Dependencies # Dependencies
depend: .depend depend: Make.dep
clean: clean:
$(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" clean ) $(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" clean )
@@ -154,6 +153,5 @@ clean:
distclean: clean distclean: clean
$(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean ) $(Q) if exist board$(DELIM)Makefile ( $(MAKE) -C board TOPDIR="$(TOPDIR)" distclean )
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.depend
/*.asm /*.asm
/*.obj /*.obj
/*.rel /*.rel
+3 -5
View File
@@ -77,11 +77,10 @@ $(COBJS): %$(OBJEXT): %.c
$(BIN): $(OBJS) $(BIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS)) $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) Make.dep: Makefile $(SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
$(call DELFILE, $(BIN)) $(call DELFILE, $(BIN))
@@ -89,6 +88,5 @@ clean:
distclean: clean distclean: clean
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,5 +1,4 @@
/Make.dep /Make.dep
/.depend
/*.src /*.src
/*.obj /*.obj
/*.asm /*.asm
+3 -5
View File
@@ -92,11 +92,10 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c
$(BIN): $(BINFMT_OBJS) $(BIN): $(BINFMT_OBJS)
$(call ARCHIVE, $@, $(BINFMT_OBJS)) $(call ARCHIVE, $@, $(BINFMT_OBJS))
.depend: Makefile $(BINFMT_SRCS) Make.dep: Makefile $(BINFMT_SRCS)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >$@
$(Q) touch $@
depend: .depend depend: Make.dep
clean: clean:
$(call DELFILE, $(BIN)) $(call DELFILE, $(BIN))
@@ -104,6 +103,5 @@ clean:
distclean: clean distclean: clean
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-2
View File
@@ -1,4 +1,3 @@
.depend
Make.dep Make.dep
*.o *.o
*.a *.a
@@ -13,7 +12,6 @@ core
.cproject .cproject
cscope.out cscope.out
/Make.dep /Make.dep
/.depend
/*.asm /*.asm
/*.obj /*.obj
/*.rel /*.rel
+5 -7
View File
@@ -119,18 +119,17 @@ ifneq ($(CXXOBJS),)
$(call ARCHIVE, $@, $(CXXOBJS)) $(call ARCHIVE, $@, $(CXXOBJS))
endif endif
.depend: Makefile $(SRCS) $(CXXSRCS) Make.dep: Makefile $(SRCS) $(CXXSRCS)
ifneq ($(ZDSVERSION),) ifneq ($(ZDSVERSION),)
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
else else
$(Q) $(MKDEP) $(DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) $(DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >$@
endif endif
ifneq ($(CXXSRCS),) ifneq ($(CXXSRCS),)
$(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(CXXSRCS) >>Make.dep $(Q) $(MKDEP) $(DEPPATH) "$(CXX)" -- $(CXXFLAGS) -- $(CXXSRCS) >>$@
endif endif
$(Q) touch $@
depend: .depend depend: Make.dep
ifneq ($(BOARD_CONTEXT),y) ifneq ($(BOARD_CONTEXT),y)
context: context:
@@ -143,7 +142,6 @@ clean:
distclean: clean distclean: clean
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
$(EXTRA_DISTCLEAN) $(EXTRA_DISTCLEAN)
-include Make.dep -include Make.dep
+4 -6
View File
@@ -103,16 +103,15 @@ $(CXXOBJS): %$(OBJEXT): %.cxx
$(BIN): $(OBJS) $(BIN): $(OBJS)
$(call ARCHIVE, $@, $(OBJS)) $(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS) Make.dep: Makefile $(SRCS)
ifneq ($(SRCS),) ifneq ($(SRCS),)
$(Q) $(MKDEP) --dep-path . "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) $(MKDEP) --dep-path . "$(CC)" -- $(CFLAGS) -- $(SRCS) >$@
endif endif
ifneq ($(CXXSRCS),) ifneq ($(CXXSRCS),)
$(Q) $(MKDEP) --dep-path . "$(CXX)" -- $(CXXFLAGS) -- $(CXXSRCS) >>Make.dep $(Q) $(MKDEP) --dep-path . "$(CXX)" -- $(CXXFLAGS) -- $(CXXSRCS) >>$@
endif endif
$(Q) touch $@
depend: .depend depend: Make.dep
$(DUMMY_KCONFIG): $(BOARD_KCONFIG) $(DUMMY_KCONFIG): $(BOARD_KCONFIG)
$(call DELFILE, $(DUMMY_KCONFIG)) $(call DELFILE, $(DUMMY_KCONFIG))
@@ -134,6 +133,5 @@ clean: clean_context
distclean: clean distclean: clean
$(call DELFILE, Make.dep) $(call DELFILE, Make.dep)
$(call DELFILE, .depend)
-include Make.dep -include Make.dep
-1
View File
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,3 +1 @@
/.depend
/Make.dep /Make.dep
src/.depend
@@ -109,9 +109,7 @@ $(TOPDIR)$(DELIM)User.map: nuttx_user.elf
$(Q) $(NM) nuttx_user.elf >$(TOPDIR)$(DELIM)User.map $(Q) $(NM) nuttx_user.elf >$(TOPDIR)$(DELIM)User.map
$(Q) $(CROSSDEV)size nuttx_user.elf $(Q) $(CROSSDEV)size nuttx_user.elf
.depend: depend:
depend: .depend
clean: clean:
$(call DELFILE, nuttx_user.elf) $(call DELFILE, nuttx_user.elf)
@@ -109,9 +109,7 @@ $(TOPDIR)$(DELIM)User.map: nuttx_user.elf
$(Q) $(NM) nuttx_user.elf >$(TOPDIR)$(DELIM)User.map $(Q) $(NM) nuttx_user.elf >$(TOPDIR)$(DELIM)User.map
$(Q) $(CROSSDEV)size nuttx_user.elf $(Q) $(CROSSDEV)size nuttx_user.elf
.depend: depend:
depend: .depend
clean: clean:
$(call DELFILE, nuttx_user.elf) $(call DELFILE, nuttx_user.elf)
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep
@@ -1,2 +1 @@
/.depend
/Make.dep /Make.dep

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