FreeCalypso > hg > freecalypso-tools
view loadtools/Makefile @ 4:971906d7763d
fc-shell tch commands: changed to raw hex file format
This "backward" change is needed for two reasons:
1) to support EFR in addition to 06.10
2) to preserve the DSP status words for the downlink
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 14 Jun 2016 01:02:48 +0000 |
parents | e7502631a0f9 |
children | b77005f6d315 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROGS= fc-iram fc-loadtool fc-xram fc-compalram INSTBIN=/usr/local/bin EXTRA_OBJ= compalload.o COMPALRAM_OBJS= compalload.o compalram.o defpath.o sercomm.o ttypassthru.o IRAM_OBJS= defpath.o hexdecode.o hwparam.o hwparamstubs.o romload.o \ sercomm.o sertool.o srecreader.o ttypassthru.o ${EXTRA_OBJ} LOADTOOL_OBJS= crc32tab.o defpath.o flashops.o flcmplboot.o flmain.o flmisc.o \ flprogbin.o flprogsrec.o flutil.o hexdecode.o hwparam.o \ labaud.o ltdispatch.o ltdump.o ltexit.o lthelp.o ltmain.o \ ltmisc.o ltpassthru.o ltscript.o romload.o sercomm.o \ srecreader.o tpinterf.o tpinterf2.o tpinterf3.o ${EXTRA_OBJ} XRAM_OBJS= chainload.o clmain.o defpath.o hexdecode.o hwparam.o \ hwparamstubs.o initscript.o labaud.o romload.o sercomm.o \ srecreader.o tpinterf.o ttypassthru.o ${EXTRA_OBJ} all: ${PROGS} fc-compalram: ${COMPALRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${COMPALRAM_OBJS} fc-iram: ${IRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${IRAM_OBJS} fc-loadtool: ${LOADTOOL_OBJS} ${CC} ${CFLAGS} -o $@ ${LOADTOOL_OBJS} fc-xram: ${XRAM_OBJS} ${CC} ${CFLAGS} -o $@ ${XRAM_OBJS} install: mkdir -p ${INSTBIN} install -c ${PROGS} ${INSTBIN} ./install-helpers.sh clean: rm -f *.o *.out *errs ${PROGS}