software: libc: fix Makefile dependecies

Signed-off-by: Karol Gugala <kgugala@antmicro.com>
This commit is contained in:
Karol Gugala 2021-09-27 23:05:54 +02:00
parent 01a906add7
commit d101ef7ed0

View file

@ -64,11 +64,11 @@ libc.a: cross.txt
meson compile meson compile
cp newlib/libc.a libc.a cp newlib/libc.a libc.a
stdio.c.o: $(LIBC_DIRECTORY)/stdio.c stdio.c.o: $(LIBC_DIRECTORY)/stdio.c libc.a
$(compile) $(compile)
$(AR) csr libc.a $@ $(AR) csr libc.a $@
missing.c.o: $(LIBC_DIRECTORY)/missing.c missing.c.o: $(LIBC_DIRECTORY)/missing.c libc.a
$(compile) $(compile)
$(AR) csr libc.a $@ $(AR) csr libc.a $@