view makefile-frags/ram-link-steps @ 108:94170d82d926

configs/l1reconst: rebuild l1_pei.lib from source
author Mychaela Falconia <falcon@freecalypso.org>
date Wed, 05 Oct 2016 22:46:22 +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 $< $@