# HG changeset patch # User Mychaela Falconia # Date 1475346784 0 # Node ID 84f4a04fde243678772f9946a1e09b4006e4de30 # Parent 065aacae8b37ce08d9ad581eda592716713dc555 TI's linker doesn't like hyphens in filenames diff -r 065aacae8b37 -r 84f4a04fde24 makefile-frags/clean-always --- a/makefile-frags/clean-always Sat Oct 01 03:30:53 2016 +0000 +++ b/makefile-frags/clean-always Sat Oct 01 18:33:04 2016 +0000 @@ -1,3 +1,3 @@ clean: FRC - rm -f gsm-fw.* str2ind.obj link.cmd + rm -f fwimage.* str2ind.obj link.cmd for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done diff -r 065aacae8b37 -r 84f4a04fde24 makefile-frags/first-part --- a/makefile-frags/first-part Sat Oct 01 03:30:53 2016 +0000 +++ b/makefile-frags/first-part Sat Oct 01 18:33:04 2016 +0000 @@ -1,4 +1,4 @@ -all: gsm-fw.bin +all: fwimage.bin ${SUBDIR}: FRC cd $@; ${MAKE} ${MFLAGS} diff -r 065aacae8b37 -r 84f4a04fde24 makefile-frags/link-steps --- a/makefile-frags/link-steps Sat Oct 01 03:30:53 2016 +0000 +++ b/makefile-frags/link-steps Sat Oct 01 18:33:04 2016 +0000 @@ -5,12 +5,12 @@ 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 $^ +fwimage.out: ${LIBS} str2ind.obj link.cmd + ../toolwrap/vlnk470 -farcall -x -o $@ -m fwimage.map $^ -gsm-fw.m0: gsm-fw.out - ../toolwrap/hex470 -m -memwidth 16 -romwidth 16 gsm-fw.out +fwimage.m0: fwimage.out + ../toolwrap/hex470 -m -memwidth 16 -romwidth 16 $< -gsm-fw.bin: gsm-fw.m0 - mokosrec2bin gsm-fw.m0 $@ FF +fwimage.bin: fwimage.m0 + mokosrec2bin $< $@ FF