arch/sim/src/Makefile: Fix dependency problem due to reorganization of some directories.

This commit is contained in:
Gregory Nutt 2019-08-26 13:09:57 -06:00
parent 5be824e0ea
commit 9bd850295e
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ CSRCS += up_reprioritizertr.c up_exit.c up_schedulesigaction.c up_spiflash.c
CSRCS += up_allocateheap.c up_devconsole.c up_qspiflash.c
VPATH = sim
DEPPATH = $(patsubst %,--dep-path %,$(subst :, ,$(VPATH)))
HOSTSRCS = up_hostusleep.c
@ -300,7 +301,7 @@ export_startup: board/libboard$(LIBEXT) up_head.o $(HOSTOBJS)
# Dependencies
.depend: Makefile $(SRCS)
$(Q) $(MKDEP) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) $(MKDEP) $(DEPPATH) "$(CC)" -- $(CFLAGS) -- $(SRCS) >Make.dep
$(Q) touch $@
depend: .depend