FreeCalypso > hg > freecalypso-sw
annotate target-utils/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 | 3164604a6c70 |
children | 76149e0628ba |
rev | line source |
---|---|
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
1 FOR_LOADTOOLS= compalstage loadagent |
358
b39802cd9329
target-utils/Makefile: tf-breakin subdir added
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
315
diff
changeset
|
2 ALLPROGS= ${FOR_LOADTOOLS} helloapp pirexplore tf-breakin |
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
3 LIBS= libcommon libload libprintf libtiffs |
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
4 SUBDIR= ${ALLPROGS} ${LIBS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 |
315
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
6 default: ${FOR_LOADTOOLS} |
1b4beffc8055
target-utils: compalstage included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
224
diff
changeset
|
7 all: ${ALLPROGS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 helloapp: libcommon libprintf |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 loadagent: libcommon libload libprintf |
224
2900fe603f8a
beginning of MPFFS->TIFFS naming convention change
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
196
diff
changeset
|
11 pirexplore: libcommon libload libprintf libtiffs |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 ${SUBDIR}: FRC |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
14 cd $@; ${MAKE} ${MFLAGS} |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 |
378
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
16 install: FRC |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
17 for i in ${FOR_LOADTOOLS}; do (cd $$i; ${MAKE} ${MFLAGS} install); done |
3164604a6c70
install compalstage-*.bin and loadagent.srec from target-utils
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
358
diff
changeset
|
18 |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 clean: FRC |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 rm -f a.out core errs |
108
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
21 for i in ${SUBDIR}; do \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
22 if [ -d $$i ]; then \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
23 (cd $$i; ${MAKE} ${MFLAGS} clean) \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
24 fi \ |
3b9cc76f2073
target-utils/Makefile: make clean: support for subset packaging
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
25 done |
25
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 |
796da8d60b23
target-utils: top-level Makefile created like in the Book-E-MON and
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 FRC: |