view makefile-frags/link-steps @ 63:065aacae8b37

makefile-frags/link-steps: it's make_cmd.pl, not make-cmd.pl
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 01 Oct 2016 03:30:53 +0000
parents dba3f097489e
children 84f4a04fde24
line wrap: on
line source

str2ind.obj:	str2ind.c
	../toolwrap/cl470 -q -c -me -mt -o -pw2 -x -mw str2ind.c

link.cmd:	${LINK_SCRIPT_SRC} Makefile lcfgen
	perl ../scripts/ti/make_cmd.pl lcfgen $@ 0 ${LINK_SCRIPT_SRC} \
		${SPECIAL_LINK_LIBS}

gsm-fw.out:	${LIBS} str2ind.obj link.cmd
	../toolwrap/vlnk470 -farcall -x -o $@ -m gsm-fw.map $^

gsm-fw.m0:	gsm-fw.out
	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 gsm-fw.out

gsm-fw.bin:	gsm-fw.m0
	mokosrec2bin gsm-fw.m0 $@ FF