FreeCalypso > hg > freecalypso-sw
comparison target-utils/loadagent/Makefile @ 378:3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 09 Jun 2014 06:10:01 +0000 |
parents | 1c50add5e202 |
children | 90af6744d256 |
comparison
equal
deleted
inserted
replaced
377:d148403013c0 | 378:3164604a6c70 |
---|---|
1 CC= arm-elf-gcc | 1 CC= arm-elf-gcc |
2 CFLAGS= -Os -fno-builtin | 2 CFLAGS= -Os -fno-builtin |
3 CPPFLAGS=-I../include | 3 CPPFLAGS=-I../include |
4 LD= arm-elf-ld | 4 LD= arm-elf-ld |
5 OBJCOPY=arm-elf-objcopy | 5 OBJCOPY=arm-elf-objcopy |
6 | |
7 INSTDIR=/usr/local/share/freecalypso | |
6 | 8 |
7 PROG= loadagent | 9 PROG= loadagent |
8 OBJS= crt0.o cmdtab.o main.o mygetchar.o | 10 OBJS= crt0.o cmdtab.o main.o mygetchar.o |
9 LIBS= ../libcommon/libcommon.a ../libload/libload.a ../libprintf/libprintf.a | 11 LIBS= ../libcommon/libcommon.a ../libload/libload.a ../libprintf/libprintf.a |
10 LDS= ../env/iram.lds | 12 LDS= ../env/iram.lds |
23 --start-group ${TC_LIBS} --end-group | 25 --start-group ${TC_LIBS} --end-group |
24 | 26 |
25 ${PROG}.srec: ${PROG}.elf | 27 ${PROG}.srec: ${PROG}.elf |
26 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ | 28 ${OBJCOPY} -O srec --srec-forceS3 --srec-len=30 $< $@ |
27 | 29 |
30 install: | |
31 install -c ${PROG}.srec ${INSTDIR} | |
32 | |
28 clean: | 33 clean: |
29 rm -f *.o *errs *core *.elf *.bin *.srec crt0.S | 34 rm -f *.o *errs *core *.elf *.bin *.srec crt0.S |
30 | 35 |
31 FRC: | 36 FRC: |