summaryrefslogtreecommitdiffstats
path: root/Src/osmocombb/src/target_dsp/calypso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Src/osmocombb/src/target_dsp/calypso/Makefile')
-rw-r--r--Src/osmocombb/src/target_dsp/calypso/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Src/osmocombb/src/target_dsp/calypso/Makefile b/Src/osmocombb/src/target_dsp/calypso/Makefile
new file mode 100644
index 0000000..40ee4ec
--- /dev/null
+++ b/Src/osmocombb/src/target_dsp/calypso/Makefile
@@ -0,0 +1,15 @@
+all: dsp_dump.bin
+
+CROSS=tic54x-coff-
+
+%.o: %.S
+ $(CROSS)as $< -o $@
+
+%.bin: %.coff
+ $(CROSS)objcopy -j .text -O binary $< $@
+
+dsp_dump.coff: bl_stage3.o dsp_dump.lds
+ $(CROSS)ld --script dsp_dump.lds bl_stage3.o -o $@
+
+clean:
+ rm -f *.o *.bin *.coff