litex/software/libbase/Makefile
Sebastien Bourdeauducq 1a4a6eb445 Copy some software code from the original Milkymist SoC.
Libbase should keep its RAM usage to a minimum as it is meant to
be executed before the SDRAM is up and running. (Having lots of
code is OK though as we XIP from the flash)
2012-02-03 12:08:17 +01:00

15 lines
313 B
Makefile

MMDIR=../..
include $(MMDIR)/software/include.mak
OBJECTS=divsi3.o libc.o console.o system.o board.o uart.o softfloat.o softfloat-glue.o vsnprintf.o atof.o
all: libbase.a
libbase.a: $(OBJECTS)
$(AR) clr libbase.a $(OBJECTS)
$(RANLIB) libbase.a
.PHONY: clean
clean:
rm -f *.o libbase.a .*~ *~ Makefile.bak