You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by gn...@apache.org on 2020/01/21 13:40:22 UTC

[incubator-nuttx] branch pr135 updated: libs/MT: correct the dependents path

This is an automated email from the ASF dual-hosted git repository.

gnutt pushed a commit to branch pr135
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/pr135 by this push:
     new e476b69  libs/MT: correct the dependents path
e476b69 is described below

commit e476b69e8bd9965137fe885e6c8d737d451474a6
Author: chao.an <an...@xiaomi.com>
AuthorDate: Sun Jan 19 19:59:04 2020 +0800

    libs/MT: correct the dependents path
    
    Change-Id: Ie2a3af4f532f07612d68d3a1bf1353cdb44a0a67
    Signed-off-by: chao.an <an...@xiaomi.com>
---
 libs/libc/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libs/libc/Makefile b/libs/libc/Makefile
index 7142ba2..f4b6cea 100644
--- a/libs/libc/Makefile
+++ b/libs/libc/Makefile
@@ -195,10 +195,10 @@ endif
 
 .depend: Makefile $(SRCS)
 ifeq ($(CONFIG_BUILD_FLAT),y)
-	$(Q) $(MKDEP) --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >bin/Make.dep
+	$(Q) $(MKDEP) --obj-path bin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >bin/Make.dep
 else
-	$(Q) $(MKDEP) --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >ubin/Make.dep
-	$(Q) $(MKDEP) --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >kbin/Make.dep
+	$(Q) $(MKDEP) --obj-path ubin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >ubin/Make.dep
+	$(Q) $(MKDEP) --obj-path kbin --obj-suffix $(OBJEXT) $(DEPPATH) "$(CC)" -- $(CFLAGS) $(KDEFINE) -- $(SRCS) >kbin/Make.dep
 endif
 ifeq ($(CONFIG_LIB_ZONEINFO_ROMFS),y)
 	$(Q) $(MAKE) -C zoneinfo depend TOPDIR=$(TOPDIR) BIN=$(BIN)