annotate gsm-fw/L1/Makefile @ 598:d42b83dee819

L1: DSP CPU load measurement appears to be possible only on DSP >= 38
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 17 Aug 2014 16:52:06 +0000
parents 2fd248f74a20
children b8a277d81746
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
594
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
1 LD= arm-elf-ld
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
2
586
25a3095e8a98 L1: dsp subdir added to the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 578
diff changeset
3 SUBDIR= cfile cust0 dsp tpudrv
521
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
594
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
5 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
6 EXT_PIECES= cfile/xipcode.o cust0/xipcode.o dsp/xipcode.o
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
7
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
8 all: iramcode.o xipcode.o
521
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 ${SUBDIR}: FRC
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 cd $@; ${MAKE} ${MFLAGS}
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12
594
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
13 cfile/iramcode.o cfile/xipcode.o: cfile
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
14 @true
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
15
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
16 cust0/iramcode.o cust0/xipcode.o: cust0
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
17 @true
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
18
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
19 dsp/xipcode.o: dsp
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
20 @true
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
21
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
22 tpudrv/iramcode.o: tpudrv
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
23 @true
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
24
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
25 iramcode.o: ${INT_PIECES}
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
26 ${LD} -r -o $@ ${INT_PIECES}
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
27
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
28 xipcode.o: ${EXT_PIECES}
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
29 ${LD} -r -o $@ ${EXT_PIECES}
2fd248f74a20 gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 586
diff changeset
30
521
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
31 clean: FRC
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
32 rm -f *.[oa] *.out *errs
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
33 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
34
e1dd4a240199 gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
35 FRC: