summaryrefslogtreecommitdiffstats
path: root/src/target_dsp/calypso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/target_dsp/calypso/Makefile')
-rw-r--r--src/target_dsp/calypso/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/target_dsp/calypso/Makefile b/src/target_dsp/calypso/Makefile
new file mode 100644
index 00000000..ff21e694
--- /dev/null
+++ b/src/target_dsp/calypso/Makefile
@@ -0,0 +1,7 @@
+dsp_dump.bin: bl_stage3.S dsp_dump.lds
+ c54x-coff-as bl_stage3.S -o bl_stage3.o
+ c54x-coff-ld --script dsp_dump.lds bl_stage3.o -o dsp_dump.coff
+ c54x-coff-objcopy -j .text -O binary dsp_dump.coff dsp_dump.bin
+
+clean:
+ rm -f *.o *.bin *.coff