annotate gsm-fw/ccd/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 e40935b81113
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
650
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 CC= arm-elf-gcc
657
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
2 AR= arm-elf-ar
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
3 RANLIB= arm-elf-ranlib
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
4
650
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 CFLAGS= -O2 -fno-builtin -mthumb-interwork -mthumb
657
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
6 INCPATH=-I../gpf/inc -I../cdginc
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
7 DEFS= -DM_INTEL -DSHARED_VSI -DSHARED_CCD -DERR_TRACE_CCD
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
8 CPPFLAGS=${INCPATH} ${DEFS}
650
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 CCD_OBJS= ccd.o bitfun.o cdc_std.o cdc_com.o ccd_err.o ccd_store.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 gsm1_tv.o gsm1_v.o gsm2_t.o gsm3_tv.o gsm3_v.o gsm4_lv.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 gsm4_tlv.o gsm5_tlv.o gsm5_tv.o gsm5_v.o gsm6_tlv.o gsm7_lv.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 bcd_mnc.o bcd_nofill.o bcdeven.o bcdodd.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 gsm1_asn.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 csn1_s1.o csn1_sh.o s_padding.o t30_ident.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 asn1_bitstr.o asn1_octet.o asn1_integ.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
17 asn1_seq.o asn1_choice.o no_code.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18 asn1_choice_ext.o asn1_seq_ext.o asn1_integ_ext.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 asn1_opentype.o asn1_objid.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 noncritical_ext.o critical_ext.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21 ccd_elem.o s_padding_0.o csn1_s0.o hl_flag.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 freq_list.o fdd_ci.o tdd_ci.o freq_list_com.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 csn1_concat.o break_cond.o csn1_sx.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
24 csn1_choice_1.o csn1_choice_2.o csn1_choice_x.o \
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
25 csn1_sh_opt.o csn1_s1_opt.o csn1_s0_opt.o
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
26
657
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
27 CCDDATA_OBJS= ccd_config.o ccddata_ccd.o ccddata_ccdent.o ccddata_ccdmtab.o \
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
28 ccddata_cdemval.o ccddata_mconst.o
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
29
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
30 ALL_OBJS= ${CCD_OBJS} ${CCDDATA_OBJS}
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
31
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
32 all: libccd.a
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
33
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
34 libccd.a: ${ALL_OBJS}
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
35 ${AR} cru $@ ${ALL_OBJS}
e40935b81113 ccddata compiles with cdginc-conservative; libccd.a built
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 650
diff changeset
36 ${RANLIB} $@
650
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
37
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
38 clean:
a432bcc79039 gsm-fw/ccd: Makefile created, all core library modules compile!
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
39 rm -f *.[oa] *errs