libgloss: visium: fix sbrk search path
The code was loading the common ../sbrk.c file rather than the visium specific sbrk.c due to VPATH setup. Add an explicit rule for this one file so we make sure the correct one is used.
This commit is contained in:
parent
fdbef75837
commit
7eb6429d4d
|
@ -97,6 +97,9 @@ sim-syscalls.o: syscalls.c syscall.h io.h
|
|||
debug-syscalls.o: syscalls.c syscall.h io.h
|
||||
${CC} ${CFLAGS_FOR_TARGET} ${CFLAGS} -c -o $@ $<
|
||||
|
||||
sbrk.o: $(srcdir)/sbrk.c
|
||||
${CC} ${CFLAGS_FOR_TARGET} ${CFLAGS} -c -o $@ $<
|
||||
|
||||
$(OBJS): %.o: ../%.c
|
||||
${CC} ${CFLAGS_FOR_TARGET} ${CFLAGS} -c -o $@ $<
|
||||
|
||||
|
|
Loading…
Reference in New Issue