annotate rvinterf/ctracedec/Makefile @ 923:10b4bed10192

gsm-fw/L1: fix for the DSP patch corruption bug The L1 code we got from the LoCosto fw contains a feature for DSP CPU load measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the code dealing with that feature is conditionalized as #if (DSP >= 38), but one spot was missed, and the MCU code was writing into an API word dealing with this feature. In TCS211 this DSP API word happens to be used by the DSP code patch, hence that write was corrupting the patched DSP code.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Mon, 19 Oct 2015 17:13:56 +0000
parents d32dff865575
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
859
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= gcc
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 CFLAGS= -O2
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 PROG= ctracedec
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 OBJS= decode.o doprnt.o main.o processlog.o readtab.o
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5 INSTBIN=/usr/local/bin
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7 all: ${PROG}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 ${PROG}: ${OBJS}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10 ${CC} ${CFLAGS} -o $@ ${OBJS}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 install: ${PROG}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13 mkdir -p ${INSTBIN}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 install -c ${PROG} ${INSTBIN}
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 clean:
d32dff865575 ctracedec compiles
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 rm -f *.o *.out *errs ${PROG}