Revert "Don't generate .depend anymore"

This reverts commit 79af7fbf4e.

Because:

* btashton reported some issues in local builds:

  https://github.com/apache/incubator-nuttx/pull/603#issuecomment-602264860

* this might be related to the current CI breakage:

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

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