annotate gsm-fw/g23m-aci/dti/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 ac329f4627ac
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
778
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
1 CC= arm-elf-gcc
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
2 AR= arm-elf-ar
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
3 RANLIB= arm-elf-ranlib
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
4
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
6 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
7 -I../../cdginc
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
8
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
9 OBJS= dti_int.o dti_kerf.o dti_kerp.o
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
10
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
11 all: libdti.a
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
12
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
13 libdti.a: ${OBJS}
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
14 ${AR} cru $@ ${OBJS}
ac329f4627ac gsm-fw/g23m-aci/dti compiles into libdti.a
Michael Spacefalcon <falcon@ivan.Harhan.ORG>
parents: 776
diff changeset
15 ${RANLIB} $@
776
5a0c58760ae2 gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16
5a0c58760ae2 gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 clean:
5a0c58760ae2 gsm-fw/g23m-aci: stub Makefile hierarchy created, hooked into make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 rm -f *.[oa] *.out *errs