URL
https://opencores.org/ocsvn/spacewire_light/spacewire_light/trunk
Subversion Repositories spacewire_light
[/] [spacewire_light/] [trunk/] [sw/] [spwamba_test/] [Makefile] - Rev 5
Go to most recent revision | Compare with Previous | Blame | View Log
## Build test software for SpaceWire Light with AMBA interface on LEON3.## This Makefile builds a test program for use with spwamba_gr-xc3s1500# on real hardware.## A different configuration of this test program is used in a simulation.# In that case the program is built by sim/spwamba_leon3/Makefile.#SWDEFS = -DTXCLKFREQ=200 -DDESCTABLESIZE=10 -DQUEUEFILL=1760 -DLOOPBACKSWITCH=0CC = sparc-elf-gccCFLAGS = -msoft-float -Wall -OsLDFLAGS = -msoft-floatMKPROM = sparc-elf-mkpromPROMFLAGS = -freq 40 -nosram -sdram 64 -v -msoft-float.PHONY: allall: spwamba_test.dsu spwamba_test.promspwamba_test.dsu: spwamba_test.o$(CC) $(LDFLAGS) $^ -o $@spwamba_test.prom: spwamba_test.dsu$(MKPROM) $(PROMFLAGS) $< -o $@spwamba_test.o: spwamba_test.c$(CC) $(SWDEFS) $(CFLAGS) -c $<.PHONY: cleanclean:$(RM) spwamba_test.o spwamba_test.dsu spwamba_test.prom xdump.s
Go to most recent revision | Compare with Previous | Blame | View Log
