mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Parallelize depend file generation
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
2df6547d50
commit
d5b6ec450f
+5
-1
@@ -80,9 +80,13 @@ $(BINFMT_COBJS): %$(OBJEXT): %.c
|
||||
|
||||
$(BIN): $(BINFMT_OBJS)
|
||||
$(call ARCHIVE, $@, $(BINFMT_OBJS))
|
||||
|
||||
makedepfile: $(BINFMT_CSRCS:.c=.ddc) $(BINFMT_ASRCS:.S=.dds)
|
||||
$(call CATFILE, Make.dep, $^)
|
||||
$(call DELFILE, $^)
|
||||
|
||||
.depend: Makefile $(BINFMT_SRCS) $(TOPDIR)$(DELIM).config
|
||||
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(BINFMT_SRCS) >Make.dep
|
||||
$(Q) $(MAKE) makedepfile
|
||||
$(Q) touch $@
|
||||
|
||||
depend: .depend
|
||||
|
||||
Reference in New Issue
Block a user