view makefile-frags/ram-link-steps @ 198:0e4c6a7d2071

upm.lib compiles
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Oct 2016 01:33:08 +0000
parents 6475bde1b170
children 9432dd63626b
line wrap: on
line source

ram:	ramimage.srec

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

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

ramimage.m0:	ramimage.out
	../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $<

ramimage.srec:	ramimage.m0
	../helpers/srec4ram $< $@