Revert "build depend:Revert Make.dep intermediate ddc file"

This reverts commit ddc3119c4e.
This commit is contained in:
Masayuki Ishikawa
2024-09-15 13:41:42 +09:00
committed by Xiang Xiao
parent 868b17bc5a
commit df298c186f
37 changed files with 214 additions and 64 deletions
+5 -2
View File
@@ -136,12 +136,15 @@ export_startup: $(STARTUP_OBJS)
# Dependencies
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds) $(HEAD_ASRC:.S=.dds)
$(call CATFILE, Make.dep, $^)
$(call DELFILE, $^)
.depend: Makefile chip/Make.defs $(SRCS) $(TOPDIR)$(DELIM).config
ifeq ($(BOARDMAKE),y)
$(Q) $(MAKE) -C board depend
endif
$(Q) $(MKDEP) --dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR) \
"$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) $(MAKE) makedepfile DEPPATH="--dep-path chip --dep-path common --dep-path $(ARCH_SUBDIR)"
$(Q) touch $@
depend: .depend