comparison target-utils/loadagent/Makefile @ 629:e7ba9fcb3637

target-utils: move loadagent to 0x838000 in preparation for ramImages that load iram.text directly into IRAM
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 01 Sep 2014 08:32:22 +0000
parents 90af6744d256
children 5cff3579814c
comparison
equal deleted inserted replaced
628:c2f2f7d78451 629:e7ba9fcb3637
18 18
19 crt0.S: ../env/crt0.S 19 crt0.S: ../env/crt0.S
20 ln -s $< . 20 ln -s $< .
21 21
22 ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} 22 ${PROG}.elf: ${OBJS} ${LIBS} ${LDS}
23 ${LD} -N --defsym stack_bottom=0x81FFFC -T ${LDS} -o $@ ${OBJS} \ 23 ${LD} -N --defsym Base_addr=0x838000 --defsym stack_bottom=0x83FFFC \
24 -T ${LDS} -o $@ ${OBJS} \
24 --start-group ${LIBS} --end-group \ 25 --start-group ${LIBS} --end-group \
25 --start-group ${TC_LIBS} --end-group 26 --start-group ${TC_LIBS} --end-group
26 27
27 ${PROG}.srec: ${PROG}.elf 28 ${PROG}.srec: ${PROG}.elf
28 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ 29 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@