mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
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:
committed by
Xiang Xiao
parent
79af7fbf4e
commit
1ffa009c8b
@@ -1,4 +1,5 @@
|
||||
/Make.dep
|
||||
/.depend
|
||||
/*.src
|
||||
/*.obj
|
||||
/*.asm
|
||||
|
||||
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user