arch/sim/src/Makefile: Fixes missing recursion into sim board directory for dependency generation.

This commit is contained in:
Matias N 2019-10-24 08:10:55 -06:00 committed by Gregory Nutt
parent 34ac62433b
commit ddbb38ac91

View File

@ -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 $@