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

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


The following commit(s) were added to refs/heads/master by this push:
     new 3ddb3dc  arch/sim: Should use HOSTCFLAGS for the HOSTSRCS dependence 
generation
3ddb3dc is described below

commit 3ddb3dc00eca4eb315a2df2500bd117b9e025ce8
Author: Xiang Xiao <[email protected]>
AuthorDate: Sat Aug 29 20:06:12 2020 -0700

    arch/sim: Should use HOSTCFLAGS for the HOSTSRCS dependence generation
    
    Signed-off-by: Xiang Xiao <[email protected]>
---
 arch/sim/src/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile
index b66c899..2497ce1 100644
--- a/arch/sim/src/Makefile
+++ b/arch/sim/src/Makefile
@@ -323,7 +323,8 @@ export_startup: board/libboard$(LIBEXT) up_head.o 
$(HOSTOBJS)
        $(Q) if [ -e board/Makefile ]; then \
                $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \
        fi
-       $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
+       $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(ASRCS) $(CSRCS) 
>Make.dep
+       $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(HOSTCFLAGS) -- $(HOSTSRCS) 
>>Make.dep
        $(Q) touch $@
 
 depend: .depend

Reply via email to