From ddbb38ac91198953d746c8b5d7bdf6ab20387719 Mon Sep 17 00:00:00 2001 From: Matias N Date: Thu, 24 Oct 2019 08:10:55 -0600 Subject: [PATCH] arch/sim/src/Makefile: Fixes missing recursion into sim board directory for dependency generation. --- arch/sim/src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/sim/src/Makefile b/arch/sim/src/Makefile index 38a6f183c3..103cc15f8b 100644 --- a/arch/sim/src/Makefile +++ b/arch/sim/src/Makefile @@ -309,6 +309,9 @@ export_startup: board/libboard$(LIBEXT) up_head.o $(HOSTOBJS) # Dependencies .depend: Makefile $(SRCS) + $(Q) if [ -e board/Makefile ]; then \ + $(MAKE) -C board TOPDIR="$(TOPDIR)" depend ; \ + fi $(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep $(Q) touch $@