board/stm32l4r9ai-disco: use DEPPATH in .depend target
Because the partitions.c file is in os/board/common folder,
Makefile should pass the path of common folder.
This commit fixes build break.
-include $(TOPDIR)/Make.defs
+DEPPATH = --dep-path .
ASRCS =
CSRCS = stm32_boot.c
@@ -132,7 +133,7 @@ libboard$(LIBEXT): $(OBJS)
$(call ARCHIVE, $@, $(OBJS))
.depend: Makefile $(SRCS)
- $(Q) $(MKDEP) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
+ $(Q) $(MKDEP) $(DEPPATH) $(CC) -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
depend: .depend
