mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 19:36:35 +08:00
Revert "build depend:Revert Make.dep intermediate ddc file"
This reverts commit ddc3119c4e.
This commit is contained in:
committed by
Xiang Xiao
parent
868b17bc5a
commit
df298c186f
+10
-2
@@ -220,10 +220,18 @@ endif
|
||||
|
||||
# Dependencies
|
||||
|
||||
makedepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
||||
$(call CATFILE, bin/Make.dep, $^)
|
||||
$(call DELFILE, $^)
|
||||
|
||||
makekdepfile: $(CSRCS:.c=.ddc) $(ASRCS:.S=.dds)
|
||||
$(call CATFILE, kbin/Make.dep, $^)
|
||||
$(call DELFILE, $^)
|
||||
|
||||
.depend: Makefile gensources $(SRCS) $(TOPDIR)$(DELIM).config
|
||||
$(Q) $(MKDEP) --obj-path bin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >bin/Make.dep
|
||||
$(Q) $(MAKE) makedepfile OBJPATH="bin"
|
||||
ifneq ($(CONFIG_BUILD_FLAT),y)
|
||||
$(Q) $(MKDEP) --obj-path kbin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >kbin/Make.dep
|
||||
$(Q) $(MAKE) makekdepfile CFLAGS="$(CFLAGS) $(KDEFINE)" OBJPATH="kbin"
|
||||
endif
|
||||
$(Q) touch $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user