comparison target-utils/loadagent/Makefile @ 41:1c50add5e202

loadagent stack bottom moved to 0x81FFFC: be friendly to chain-loading
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 16 Jun 2013 07:31:23 +0000
parents c0e063494194
children 3164604a6c70
comparison
equal deleted inserted replaced
40:9b4c5ce3db8b 41:1c50add5e202
16 16
17 crt0.S: ../env/crt0.S 17 crt0.S: ../env/crt0.S
18 ln -s $< . 18 ln -s $< .
19 19
20 ${PROG}.elf: ${OBJS} ${LIBS} ${LDS} 20 ${PROG}.elf: ${OBJS} ${LIBS} ${LDS}
21 ${LD} -N --defsym stack_bottom=0x83FFFC -T ${LDS} -o $@ ${OBJS} \ 21 ${LD} -N --defsym stack_bottom=0x81FFFC -T ${LDS} -o $@ ${OBJS} \
22 --start-group ${LIBS} --end-group \ 22 --start-group ${LIBS} --end-group \
23 --start-group ${TC_LIBS} --end-group 23 --start-group ${TC_LIBS} --end-group
24 24
25 ${PROG}.srec: ${PROG}.elf 25 ${PROG}.srec: ${PROG}.elf
26 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ 26 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@