arch/sim/src/Makefile: Fix dependency problem due to reorganization of some directories.
This commit is contained in:
parent
5be824e0ea
commit
9bd850295e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue