FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/L1/Makefile @ 701:615fb8847d3f
top level README: typo fix
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 02 Oct 2014 18:48:12 +0000 |
parents | d6f0892cdf1e |
children | ab20a5e9dbf3 |
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 |
615
13e55e310eea
gsm-fw/L1/Makefile: stand added to SUBDIR for make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
612
diff
changeset
|
3 SUBDIR= audio_cfile cfile cust0 dsp stand 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 |
620
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
5 sinclude ../include/config.mk |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
6 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
7 INT_PIECES= cfile/iramcode.o cust0/iramcode.o tpudrv/iramcode.o |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
8 EXT_PIECES= audio_cfile/xipcode.o cfile/xipcode.o cust0/xipcode.o \ |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
9 dsp/xipcode.o |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
10 |
620
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
11 ifeq (${CONFIG_L1_STANDALONE},1) |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
12 EXT_PIECES+= stand/xipcode.o |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
13 endif |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
14 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
15 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
|
16 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 ${SUBDIR}: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 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
|
19 |
612
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
20 audio_cfile/xipcode.o: audio_cfile |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
21 @true |
700d450bb8da
L1: audio_cfile included in the build
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
609
diff
changeset
|
22 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
23 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
|
24 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
25 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
26 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
|
27 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
28 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
29 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
|
30 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
31 |
620
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
32 stand/xipcode.o: stand |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
33 @true |
d6f0892cdf1e
L1 standalone: final link passes with gsm-fw/L1/stand code included
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
615
diff
changeset
|
34 |
594
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
35 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
|
36 @true |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
37 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
38 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
|
39 ${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
|
40 |
2fd248f74a20
gsm-fw/L1/Makefile: link iramcode.o and xipcode.o
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
586
diff
changeset
|
41 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
|
42 ${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
|
43 |
521
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 clean: FRC |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 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
|
46 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
|
47 |
e1dd4a240199
gsm-fw/L1/Makefile: starting skeleton, hooked into top level make clean
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 FRC: |