FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/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 | b039cafc8e31 |
children |
rev | line source |
---|---|
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
1 sinclude ../include/config.mk |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
2 |
642
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
310
diff
changeset
|
3 ALL_SUBDIR= dar etm ffs pcm |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 |
310
083f262b7bbe
gsm-fw: disabled DAR links
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
307
diff
changeset
|
5 BUILD_SUBDIR= dar ffs |
642
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
310
diff
changeset
|
6 ifeq (${CONFIG_INCLUDE_PCM},1) |
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
310
diff
changeset
|
7 BUILD_SUBDIR+= pcm |
b039cafc8e31
PCM integration: linking
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
310
diff
changeset
|
8 endif |
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
9 ifeq (${RVM_ETM_SWE},1) |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
10 BUILD_SUBDIR+= etm |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
11 endif |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
13 all: ${BUILD_SUBDIR} |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
14 |
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
15 ${BUILD_SUBDIR}: FRC |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 cd $@; ${MAKE} ${MFLAGS} |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 clean: FRC |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 rm -f *.[oa] *.out *errs |
222
02e80fcc3a5a
gsm-fw/services/Makefile: build ETM only when it is enabled
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
212
diff
changeset
|
20 for i in ${ALL_SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done |
167
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
df335d255ac4
gsm-fw: services subdir hooked into the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 FRC: |