FreeCalypso > hg > freecalypso-sw
annotate rvinterf/tmsh/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 | 40b8557b9d04 |
children | 1ee80bcb0fd0 |
rev | line source |
---|---|
183
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 CC= gcc |
260
c146f38d2b5f
rvinterf subdir structure made a little more sensible
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
258
diff
changeset
|
2 CFLAGS= -O2 -I../include |
183
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 PROGS= fc-tmsh |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 INSTBIN=/usr/local/bin |
335
40b8557b9d04
rvinterf suite: libasync factored out of fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
263
diff
changeset
|
5 LIBS= ../libasync/libasync.a |
183
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 |
335
40b8557b9d04
rvinterf suite: libasync factored out of fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
263
diff
changeset
|
7 TMSH_OBJS= abb.o etmbasic.o ffs2.o ffs2resp.o ffs2wr.o init.o main.o \ |
40b8557b9d04
rvinterf suite: libasync factored out of fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
263
diff
changeset
|
8 misc.o pktsort.o tmcore.o usercmd.o |
183
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 all: ${PROGS} |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
335
40b8557b9d04
rvinterf suite: libasync factored out of fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
263
diff
changeset
|
12 fc-tmsh: ${TMSH_OBJS} ${LIBS} |
40b8557b9d04
rvinterf suite: libasync factored out of fc-tmsh
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
263
diff
changeset
|
13 ${CC} ${CFLAGS} -o $@ ${TMSH_OBJS} ${LIBS} |
183
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 install: ${PROGS} |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 mkdir -p ${INSTBIN} |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 install -c ${PROGS} ${INSTBIN} |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 clean: |
85222710dc92
rvinterf/etm: implemented everything except the packet sending command
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 rm -f *.o *.out *errs ${PROGS} |